mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
fixed #52, updateDocument시 extra_var 처리 오류 개선
This commit is contained in:
parent
71c8a0b99f
commit
203f2e683a
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ class documentController extends document
|
|||
if($obj->homepage && !preg_match('/^[a-z]+:\/\//i',$obj->homepage)) $obj->homepage = 'http://'.$obj->homepage;
|
||||
if($obj->notify_message != 'Y') $obj->notify_message = 'N';
|
||||
// Serialize the $extra_vars
|
||||
$obj->extra_vars = serialize($obj->extra_vars);
|
||||
if(!is_string($obj->extra_vars)) $obj->extra_vars = serialize($obj->extra_vars);
|
||||
// Remove the columns for automatic saving
|
||||
unset($obj->_saved_doc_srl);
|
||||
unset($obj->_saved_doc_title);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue