diff --git a/src/Admin/Models/Instances.php b/src/Admin/Models/Instances.php index 2a87d28..6fd6587 100755 --- a/src/Admin/Models/Instances.php +++ b/src/Admin/Models/Instances.php @@ -696,7 +696,7 @@ function insertAttributes($param_arr) $sql_lan = "select language from omp_attributes where id=" . $atr_id; $row_lan = parent::get_one($sql_lan); $sql = 'update omp_niceurl - set niceurl = "" + set niceurl = null where inst_id = '.$new_instance_id.' and language = "'.$row_lan['language'].'";'; parent::update_one($sql);