Commit faf45026 authored by Nico Schallehn's avatar Nico Schallehn

iset fix

parent 591acf61
......@@ -84,7 +84,7 @@ class MediaDBViewerAPI{
);
}
private function iset($Check, $default = null,$Insertbefor = "",$Insertafter = ""){
return (isset($Check)?$Insertbefor.$Check.$Insertafter:$default);
return ((isset($Check)OR($Check=="")?$Insertbefor.$Check.$Insertafter:$default);
}
function APIrespons($Laufzeit = 0, $respons = ""){
return array( "API_VERSION"=> API_VERSION,
......
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