config entfernt

sql list fix
This commit is contained in:
home 2019-12-15 20:18:56 +01:00
parent dc6348e919
commit 3bbacf0ed6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php
include ('config.php');
// include ('config.php');
include ('sql.php');
$sql = new SQL ();
include ('string.php');

View File

@ -92,7 +92,7 @@ class SQL {
}
return false;
}
public function list($que, $t, $p = array()) {
public function list($que, $t = '', $p = array()) {
$data = $this->get ( $que, $t, $p );
if ($data) {
$ret = array ();
@ -173,4 +173,4 @@ class SQL {
// echo 'DESTROY';
}
}
?>
?>