UpdateDatabase.php
authorjohn <john@roojs.com>
Wed, 24 Jan 2018 03:25:46 +0000 (11:25 +0800)
committerjohn <john@roojs.com>
Wed, 24 Jan 2018 03:25:46 +0000 (11:25 +0800)
UpdateDatabase.php

index e33a28a..bbf4adb 100644 (file)
@@ -858,7 +858,7 @@ class Pman_Core_UpdateDatabase extends Pman
                 $cm->to_group = $gp->id;
             }
             
-            if(!empty($data['active'])) {
+            if(!isset($data['active'])) {
                 $cm->active = $data['active'];
             }