mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fix yd bug
This commit is contained in:
@@ -32,7 +32,7 @@ class FetchesDataFromYDPortal
|
||||
$content = str_replace("\r",'', $content);
|
||||
$content = str_replace("\n",'', $content);
|
||||
$content = str_replace("\t",'', $content);
|
||||
dump($content);
|
||||
$content = preg_replace('/"data":\s*}/', '"data":""', $content);
|
||||
return json_decode($content);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user