fix: artefacts couldn't be claimed after last db caching optimizations

This commit is contained in:
Martin Ambrus
2017-11-25 19:26:19 +01:00
parent cca9feaded
commit 446e9b5f1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7079,7 +7079,7 @@ References: User ID/Message ID, Mode
SUM(IF(size = '3',1,0)) `unique`
FROM " . TB_PREFIX . "artefacts WHERE owner = " . (int) $uid;
$result = mysqli_query( $this->dblink, $q );
$artifact = $this->mysqli_fetch_all( $result );
$artifact = $this->mysqli_fetch_all( $result )[0];
if ( $artifact['totals'] < 3 || $type == 11 ) {
$DefenderFields = $this->getResourceLevel( $vref );