Created
December 30, 2018 13:59
-
-
Save ircykk/90639f1f01cfed1875d029937d2dcb52 to your computer and use it in GitHub Desktop.
Fix for PrestaShop 1.6 translation bug (save phrase but display old version in editor)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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