From: Alan Knowles Date: Fri, 3 Jun 2016 08:11:20 +0000 (+0800) Subject: UpdateDatabase.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=1c5e6d9e0ab9b247f28b312b0b3d3420ffd8c141;p=Pman.Core UpdateDatabase.php --- diff --git a/UpdateDatabase.php b/UpdateDatabase.php index d5dd9669..c67fae96 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -753,7 +753,7 @@ class Pman_Core_UpdateDatabase extends Pman if (empty($data['test_class'])) { $this->jerr("missing test_class for template $name"); } - $cm->test_class = $cm; + $cm->test_class = $data['test_class']; } require_once $cm->test_class . '.php'; $clsname = str_replace('/','_', $cm->test_class);