mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 13:22:16 +09:00
Fix undefined variables and properties
This commit is contained in:
parent
94e2d8e11a
commit
010ba87c5b
4 changed files with 7 additions and 3 deletions
|
|
@ -134,7 +134,10 @@ class EditorModel extends Editor
|
|||
}
|
||||
else
|
||||
{
|
||||
if(!$_SESSION['_editor_sequence_']) $_SESSION['_editor_sequence_'] = 1;
|
||||
if(empty($_SESSION['_editor_sequence_']))
|
||||
{
|
||||
$_SESSION['_editor_sequence_'] = 1;
|
||||
}
|
||||
$option->editor_sequence = $_SESSION['_editor_sequence_']++;
|
||||
}
|
||||
Context::set('allow_fileupload', $option->allow_fileupload = toBool($option->allow_fileupload));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue