UpdateDatabase.php
authorEdward <edward@roojs.com>
Fri, 14 Sep 2018 02:26:22 +0000 (10:26 +0800)
committerEdward <edward@roojs.com>
Fri, 14 Sep 2018 02:26:22 +0000 (10:26 +0800)
UpdateDatabase.php

index 4b2309c..9f0b460 100644 (file)
@@ -927,6 +927,10 @@ class Pman_Core_UpdateDatabase extends Pman
                 $cm->active = $data['active'];
             }
             
+            /*
+             * Set description to email.
+             * However we do not update if it is been set.
+             */
             if(empty($cm->description) && !empty($data['description'])){
                 $cm->description = $cm->escape($data['description']);
             }