UpdateDatabase.php
authorjohn <john@roojs.com>
Wed, 24 Jan 2018 02:47:47 +0000 (10:47 +0800)
committerjohn <john@roojs.com>
Wed, 24 Jan 2018 02:47:47 +0000 (10:47 +0800)
UpdateDatabase.php

index 8258119..71a828e 100644 (file)
@@ -847,7 +847,7 @@ class Pman_Core_UpdateDatabase extends Pman
                 $cm->test_class = $data['test_class'];
             //}
             
-            if (!empty($data['active'])) {
+            if (!empty($data['in_group'])) {
                 $gp = DB_DataObject::Factory('core_group')->lookup('name',$data['to_group']);
                 
                 if (empty($gp->id)) {