각종 PHP 7.2 에서 나는 워닝에러를 고침

This commit is contained in:
BJRambo 2018-01-25 20:57:01 +09:00
parent f2d2867069
commit 6496055581
5 changed files with 10 additions and 7 deletions

View file

@ -58,7 +58,7 @@ class documentModel extends document
$_document_list = &$GLOBALS['XE_DOCUMENT_LIST'];
// XE XE_DOCUMENT_LIST all documents that the object referred to the global variable settings
if(count($_document_list) <= 0) return;
if(countobj($_document_list) <= 0) return;
// Find all called the document object variable has been set extension
$document_srls = array();
@ -75,6 +75,7 @@ class documentModel extends document
$output = $this->getDocumentExtraVarsFromDB($document_srls);
if($output->toBool() && $output->data)
{
$extra_vars = array();
foreach($output->data as $key => $val)
{
if(!isset($val->value)) continue;