UpdateDatabase.php
authorEdward <edward@roojs.com>
Fri, 14 Sep 2018 01:40:28 +0000 (09:40 +0800)
committerEdward <edward@roojs.com>
Fri, 14 Sep 2018 01:40:28 +0000 (09:40 +0800)
UpdateDatabase.php

index 13df3af..e63812e 100644 (file)
@@ -897,7 +897,7 @@ class Pman_Core_UpdateDatabase extends Pman
             }
             
             if(!empty($data['description'])){
-                $cm->description = $data['description'];
+                $cm->description = $cm->escape($data['description']);
             }
             
             require_once $cm->test_class . '.php';