From e49d82434e2ba3877b152bf52ed99e2e92458d51 Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Thu, 21 Apr 2011 09:46:58 -0400 Subject: [PATCH] BUG 6758 Adjust in the import process, warning messages in Apache --- gulliver/system/class.g.php | 2 +- workflow/engine/classes/class.processes.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index d740a7324..8492723c4 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -1313,7 +1313,7 @@ $output = $outputHeader.$output; print G::trimSourceCodeFile ($filename ); break; default : - readfile($filename); + @readfile($filename); } } diff --git a/workflow/engine/classes/class.processes.php b/workflow/engine/classes/class.processes.php index ef70d4c79..5bc6b3790 100644 --- a/workflow/engine/classes/class.processes.php +++ b/workflow/engine/classes/class.processes.php @@ -2557,7 +2557,7 @@ class Processes { * array exist and wich are those, that is the result $sFilteredGroups array. */ function checkExistingGroups( $sGroupList ){ - + $aGroupwf = array(); $oCriteria = new Criteria('workflow'); $oCriteria->addSelectColumn(GroupwfPeer::GRP_UID); $oCriteria->addSelectColumn(ContentPeer::CON_ID);