fehler gefunden
This commit is contained in:
parent
5e085b0d0a
commit
af7d76d9c8
4
sql.php
4
sql.php
@ -105,12 +105,12 @@ class SQL {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
public function keyval($que, $k, $v, $t = '', $p = array()) {
|
||||
public function keyval($que, $k, $v, $t = '', $p = array ()) {
|
||||
$data = $this->get ( $que, $t, $p );
|
||||
if ($data) {
|
||||
$ret = array ();
|
||||
foreach ( $data as $d ) {
|
||||
$ret [$d ['k']] = $d ['v'];
|
||||
$ret [$d [$k]] = $d [$v];
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user