]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
bug fix #268: move POCHE_VERSION in index.php and change the name to avoid conflicts...
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index 899d735679cb5eddbee31fb30ea1590b7941ce2a..245f6a138fc353049c52c2ccf3a2941432ff0938 100644 (file)
@@ -366,8 +366,8 @@ class Poche
             case 'config':
                 $dev = $this->getPocheVersion('dev');
                 $prod = $this->getPocheVersion('prod');
-                $compare_dev = version_compare(POCHE_VERSION, $dev);
-                $compare_prod = version_compare(POCHE_VERSION, $prod);
+                $compare_dev = version_compare(POCHE, $dev);
+                $compare_prod = version_compare(POCHE, $prod);
                 $themes = $this->getInstalledThemes();
                 $tpl_vars = array(
                     'themes' => $themes,