UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 08:17:35 +0000 (16:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 08:17:35 +0000 (16:17 +0800)
UpdateDatabase.php

index 35620a4..24a8b95 100644 (file)
@@ -768,7 +768,7 @@ class Pman_Core_UpdateDatabase extends Pman
             if (!$got_it) {
                 $this->jerr("template {$name} does not have a test method {$clsname}::test_{$name}");
             }
-            if ($up) {
+            if ($update) {
                 $cm->update($old);
                 continue; /// we do not import the body content of templates that exist...
             } else {