mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
fix Database connection [default] not configured
This commit is contained in:
@@ -680,7 +680,7 @@ class TrackerRepository extends BaseRepository
|
||||
$log .= "[SP_STATE_REAL]: $spStateReal";
|
||||
$promotionInfo = apply_filter('torrent_promotion', $torrent->toArray());
|
||||
do_log("promotionInfo from filter torrent_promotion by torrent: " . $torrent->id . ", get : " . json_encode($promotionInfo));
|
||||
if ($promotionInfo['sp_state'] != $spStateReal) {
|
||||
if (isset($promotionInfo['__ignore_global_sp_state']) && $promotionInfo['sp_state'] != $spStateReal) {
|
||||
$spStateReal = $promotionInfo['sp_state'];
|
||||
$log .= "[CHANGE_SP_STATE_REAL_BY_FILTER_TORRENT_PROMOTION]: $spStateReal";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user