From: Sarven Capadisli Date: Thu, 21 Jan 2010 17:28:02 +0000 (+0100) Subject: Lowercased switch cases in UAP Plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=58fde0dcb5342cb3d3ff44c2e54a077eea0e063e;p=quix0rs-gnu-social.git Lowercased switch cases in UAP Plugin --- diff --git a/plugins/UAP/UAPPlugin.php b/plugins/UAP/UAPPlugin.php index 13c1017230..f3b16548d2 100644 --- a/plugins/UAP/UAPPlugin.php +++ b/plugins/UAP/UAPPlugin.php @@ -72,16 +72,16 @@ class UAPPlugin extends Plugin { foreach($this->uap as $key => $value) { switch(strtolower($key)) { - case 'MediumRectangle': default: + case 'mediumrectangle': default: $this->MediumRectangle = $value; break; - case 'Rectangle': + case 'rectangle': $this->Rectangle = $value; break; - case 'Leaderboard': + case 'leaderboard': $this->Leaderboard = $value; break; - case 'WideSkyscraper': + case 'wideskyscraper': $this->WideSkyscraper = $value; break; }