Commit b1bbf7b6 authored by Nico Schallehn's avatar Nico Schallehn

debug

parent e745a054
......@@ -50,7 +50,7 @@ class MediaDBViewerAPI{
return $ret;
}
public function API_GetDataListe(){
return $this->APIGetDataListe($_GET['Table'], $_GET['Spalten'], $_GET['Order'], $_GET['Sort']);
return $this->APIGetDataListe((isset($_GET['Table'])?$_GET['Table']:null), $_GET['Spalten'], $_GET['Order'], $_GET['Sort']);
}
public function APIGetDataListe($Table, $Spalten = "*", $Order = "", $Sort){
$entrys = $this->DB_Objekt->query("SELECT ".$Spalten." FROM ".$Table."");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment