mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-28 10:19:21 +02:00
Fix #169
This commit is contained in:
parent
84c39676ee
commit
60d2cfea99
@ -2489,7 +2489,7 @@ class OTS_Player extends OTS_Row_DAO
|
|||||||
|
|
||||||
$value = $this->db->query('SELECT ' . $this->db->fieldName('value') . ' FROM ' . $this->db->tableName('player_storage') . ' WHERE ' . $this->db->fieldName('key') . ' = ' . (int) $key . ' AND ' . $this->db->fieldName('player_id') . ' = ' . $this->data['id'])->fetch();
|
$value = $this->db->query('SELECT ' . $this->db->fieldName('value') . ' FROM ' . $this->db->tableName('player_storage') . ' WHERE ' . $this->db->fieldName('key') . ' = ' . (int) $key . ' AND ' . $this->db->fieldName('player_id') . ' = ' . $this->data['id'])->fetch();
|
||||||
|
|
||||||
if($value !== false)
|
if($value === false)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user