Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix for PrestaShop 1.6 translation bug (save phrase but display old version in editor)
<?php
class AdminTranslationsController extends AdminTranslationsControllerCore
{
public function postProcess()
{
if (function_exists('opcache_reset')) {
opcache_reset();
}
return parent::postProcess();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment