mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
remove $this, not in object context
This commit is contained in:
parent
99b433fed4
commit
a86414b9ff
@ -37,18 +37,18 @@ $everything = "";
|
||||
$result=$db->customQuery("SELECT id, active, secret ".
|
||||
"FROM clients ".
|
||||
"ORDER BY id");
|
||||
while($row = $this->db->fetchArray($result)) {
|
||||
$active = $this->db->getRowValue($row, 'active');
|
||||
while($row = $db->fetchArray($result)) {
|
||||
$active = $db->getRowValue($row, 'active');
|
||||
if ($active == "") {
|
||||
# For some reason PostgreSQL returns empty strings for false values?!
|
||||
$active = "0";
|
||||
}
|
||||
$everything = $everything .
|
||||
$this->db->getRowValue($row, 'id') . "\t" . $active . "\t" .
|
||||
$this->db->getRowValue($row, 'secret') . "\n";
|
||||
$db->getRowValue($row, 'id') . "\t" . $active . "\t" .
|
||||
$db->getRowValue($row, 'secret') . "\n";
|
||||
}
|
||||
|
||||
$this->db->closeCursor($result);
|
||||
$db->closeCursor($result);
|
||||
$hash = sha1 ($everything);
|
||||
|
||||
if ($verbose) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user