mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
clear icon cache after modify
This commit is contained in:
@@ -75,7 +75,7 @@ class Torrent
|
||||
$ptGen = new PTGen();
|
||||
}
|
||||
$ptGenInfo = $torrentInfo['pt_gen'];
|
||||
if (!is_array($torrentInfo['pt_gen'])) {
|
||||
if (!is_array($torrentInfo['pt_gen']) && is_string($torrentInfo['pt_gen'])) {
|
||||
$ptGenInfo = json_decode($ptGenInfo, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user