* fix bug for php 5.6.

This commit is contained in:
wangyidong
2023-03-09 14:01:58 +08:00
parent 4549e19e5d
commit 7ed3f67bb5
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
<div class='text-center'>
<?php
echo $lang->dev->noteEditor;
if(common::hasPriv('editor', 'switch')) echo html::a($this->createLink('editor', 'switch', 'status=1'), $lang->dev->switchList[1], '', "class='btn btn-primary'");
if(common::hasPriv('editor', 'turnon')) echo html::a($this->createLink('editor', 'turnon', 'status=1'), $lang->dev->switchList[1], '', "class='btn btn-primary'");
?>
</div>
</div>