[-] CORE : fixed bug #PSCFV-4002 - Error in webservices with /api/categories/1

This commit is contained in:
vAugagneur
2012-09-14 08:28:14 +00:00
parent 42db2a314e
commit daac64543a
2 changed files with 4 additions and 2 deletions
+4 -1
View File
@@ -79,7 +79,10 @@ class CategoryCore extends ObjectModel
/** @var boolean is Category Root */
public $is_root_category;
/** @var integer */
public $id_shop_default;
public $groupBox;
protected static $_links = array();
-1
View File
@@ -608,7 +608,6 @@ class WebserviceRequestCore
*/
public function webserviceErrorHandler($errno, $errstr, $errfile, $errline)
{
echo 'Error Handler WebserviceRequest';
$display_errors = strtolower(ini_get('display_errors')) != 'off';
if (!(error_reporting() & $errno) || $display_errors)
return;