From: Alan Knowles Date: Fri, 3 Jun 2016 08:17:35 +0000 (+0800) Subject: UpdateDatabase.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=b90e6fe9748c38b099890a74e6c4f63ac61e30ef;p=Pman.Core UpdateDatabase.php --- diff --git a/UpdateDatabase.php b/UpdateDatabase.php index 35620a4a..24a8b95d 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -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 {