mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-25 04:27:22 +08:00
fix return_torrent_bookmark_array() disabled cache ruturn null
This commit is contained in:
@@ -3002,6 +3002,7 @@ function return_torrent_bookmark_array($userid)
|
|||||||
$Cache->cache_value('user_'.$userid.'_bookmark_array', $ret, 132800);
|
$Cache->cache_value('user_'.$userid.'_bookmark_array', $ret, 132800);
|
||||||
} else {
|
} else {
|
||||||
$Cache->cache_value('user_'.$userid.'_bookmark_array', array(0), 132800);
|
$Cache->cache_value('user_'.$userid.'_bookmark_array', array(0), 132800);
|
||||||
|
$ret[] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user