[-] CORE : fixed bug #PSCFV-4002 - Error in webservices with /api/categories/1
This commit is contained in:
1 parent
42db2a314e
commit
daac64543a
2 files changed
+4
-2
No files matched your search
@@ -79,7 +79,10 @@ class CategoryCore extends ObjectModel
|
|||||||
|
|
||||||
/** @var boolean is Category Root */
|
/** @var boolean is Category Root */
|
||||||
public $is_root_category;
|
public $is_root_category;
|
||||||
|
|
||||||
|
/** @var integer */
|
||||||
|
public $id_shop_default;
|
||||||
|
|
||||||
public $groupBox;
|
public $groupBox;
|
||||||
|
|
||||||
protected static $_links = array();
|
protected static $_links = array();
|
||||||
|
|||||||
@@ -608,7 +608,6 @@ class WebserviceRequestCore
|
|||||||
*/
|
*/
|
||||||
public function webserviceErrorHandler($errno, $errstr, $errfile, $errline)
|
public function webserviceErrorHandler($errno, $errstr, $errfile, $errline)
|
||||||
{
|
{
|
||||||
echo 'Error Handler WebserviceRequest';
|
|
||||||
$display_errors = strtolower(ini_get('display_errors')) != 'off';
|
$display_errors = strtolower(ini_get('display_errors')) != 'off';
|
||||||
if (!(error_reporting() & $errno) || $display_errors)
|
if (!(error_reporting() & $errno) || $display_errors)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user