Bug correction in load method for Users in global paybacks
This commit is contained in:
parent
8d9a2bc1f1
commit
003df4d333
@ -67,10 +67,10 @@
|
||||
$query .= $field;
|
||||
}
|
||||
|
||||
$query .= ' FROM '.MYSQL_PREFIX.$this->TABLE_NAME.' WHERE payback_id=:payback_id';
|
||||
$query .= ' FROM '.MYSQL_PREFIX.$this->TABLE_NAME.' WHERE global_payback_id=:global_payback_id';
|
||||
|
||||
$query = $this->getConnection()->prepare($query);
|
||||
$query->bindParam(':payback_id', $this->payback_id);
|
||||
$query->bindParam(':global_payback_id', $this->payback_id);
|
||||
$query->execute();
|
||||
|
||||
$results = $query->fetchAll();
|
||||
|
Loading…
Reference in New Issue
Block a user