Commit afb6f4e6 authored by Nico Schallehn's avatar Nico Schallehn

finale Version der SetKeyRights

parent 7c6c78f4
......@@ -107,7 +107,7 @@ class MediaDBAPI{
/*$this->FilterEinf = array_merge($this->FilterEinf, array( "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec",
"channelsger" => "channelsger", "channelseng" => "channelseng"));*/
//$this->FilterKomp = array_merge($this->FilterKomp, array("Hinzugefuegt" => "added", "Gesehen" => "lastView", "Gesehenzaehler" => "views"));
array_push($this->StatiViews, "watchStatistic", "belegterSPeicher");
array_push($this->StatiViews, "watchStatistic", "belegterSpeicher", "freierSpeicher");
}
......@@ -146,7 +146,7 @@ class MediaDBAPI{
$Where = "WHERE ";
// = Filter:
foreach ($this->FilterEinfach as $key => $value) {
//echo $key.PHP_EOL;
if(isset($GET_arr[$key])){ //AND is_numeric($GET_arr[$key])
$Where .= ($first?"":" AND ").$value.' = "'.$GET_arr[$key].'"';
$first = false;
......
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