Commit bce262c8 authored by Nico Schallehn's avatar Nico Schallehn

$this

parent cad89ea7
...@@ -51,7 +51,7 @@ class MediaDBViewerAPI{ ...@@ -51,7 +51,7 @@ class MediaDBViewerAPI{
} }
public function API_GetDataListe($GET_arr){ public function API_GetDataListe($GET_arr){
if(!isset($GET_arr['Table'])) { if(!isset($GET_arr['Table'])) {
return error(1004); return $this->error(1004);
} }
else{ else{
$entrys = $this->DB_Objekt->query("SELECT ".(isset($GET_arr['Spalten'])?$GET_arr['Spalten']:'*')." FROM ".$GET_arr['Table'].";"); $entrys = $this->DB_Objekt->query("SELECT ".(isset($GET_arr['Spalten'])?$GET_arr['Spalten']:'*')." FROM ".$GET_arr['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