[-] CORE : fixed bug #PSCFV-4002 - Error in webservices with /api/categories/1
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17371 b9a71923-0436-4b27-9f14-aed3839534dd
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