From: vincent@cubedesigners.com Date: Wed, 14 Dec 2022 08:57:45 +0000 (+0000) Subject: wait #5647 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e232105b6f435a9db5ab3ba08a9de79ea36a4ab9;p=cubeextranet.git wait #5647 @0.5 --- diff --git a/inc/ws/Util/class.ws.links.php b/inc/ws/Util/class.ws.links.php index 647b1f69c..b951a2d9c 100644 --- a/inc/ws/Util/class.ws.links.php +++ b/inc/ws/Util/class.ws.links.php @@ -326,7 +326,7 @@ class wsLinks $crypted = [13, 14, 35]; if (!in_array($link->type, $crypted)) { - return $link; + return CubeIT_Util_Array::asArray($link); } $attrs = ['image_rollover']; @@ -340,7 +340,7 @@ class wsLinks } $link->$attr = '///' . CubeIT_Crypt::safeEncrypt($link->uid . '|||' . $link->$attr, self::_getLinkKey()); } - return $link; + return CubeIT_Util_Array::asArray($link); } public static function decryptLink($link)