Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1155,7 +1155,7 @@ class Helpers | @@ -1155,7 +1155,7 @@ class Helpers | ||
1155 | */ | 1155 | */ |
1156 | public static function getArticleUrl($url, $id) | 1156 | public static function getArticleUrl($url, $id) |
1157 | { | 1157 | { |
1158 | - $jurl = json_decode($url); | 1158 | + $jurl = json_decode($url, true); |
1159 | if(!empty($jurl) && isset($jurl['url']) && !empty($jurl['url'])) { | 1159 | if(!empty($jurl) && isset($jurl['url']) && !empty($jurl['url'])) { |
1160 | return $jurl['url']; | 1160 | return $jurl['url']; |
1161 | } else { | 1161 | } else { |
-
Please register or login to post a comment