UpdateDatabase.php
authorjohn <john@roojs.com>
Wed, 24 Jan 2018 04:26:35 +0000 (12:26 +0800)
committerjohn <john@roojs.com>
Wed, 24 Jan 2018 04:26:35 +0000 (12:26 +0800)
UpdateDatabase.php

index abef7cb..f65070b 100644 (file)
@@ -859,7 +859,7 @@ class Pman_Core_UpdateDatabase extends Pman
             }
             
             if(isset($cm->to_group)) {
-                if($cm->to_group > 0) {
+                if($cm->to_group < 1) {
                     
                     $gp = DB_DataObject::Factory('core_group')->lookup('name',$data['to_group']);