From b90e6fe9748c38b099890a74e6c4f63ac61e30ef Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 3 Jun 2016 16:17:35 +0800 Subject: [PATCH] UpdateDatabase.php --- UpdateDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.2