[-] CORE : fixed bug #PSCFV-4002 - Error in webservices with /api/categories/1
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user