From 32b0493913458c5e0fd53b450ca2d8e4f927dbf5 Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Fri, 26 Mar 2021 12:00:25 +0800 Subject: [PATCH] fix return_torrent_bookmark_array() disabled cache ruturn null --- include/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.php b/include/functions.php index bd67e256..4c79817d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3002,6 +3002,7 @@ function return_torrent_bookmark_array($userid) $Cache->cache_value('user_'.$userid.'_bookmark_array', $ret, 132800); } else { $Cache->cache_value('user_'.$userid.'_bookmark_array', array(0), 132800); + $ret[] = 0; } } }