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 <?php
include ('config.php'); // include ('config.php');
include ('sql.php'); include ('sql.php');
$sql = new SQL (); $sql = new SQL ();
include ('string.php'); include ('string.php');

View File

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