From e232105b6f435a9db5ab3ba08a9de79ea36a4ab9 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 14 Dec 2022 08:57:45 +0000 Subject: [PATCH] wait #5647 @0.5 --- inc/ws/Util/class.ws.links.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5