]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Lowercased switch cases in UAP Plugin
authorSarven Capadisli <csarven@status.net>
Thu, 21 Jan 2010 17:28:02 +0000 (18:28 +0100)
committerEvan Prodromou <evan@status.net>
Wed, 27 Jan 2010 21:34:17 +0000 (16:34 -0500)
plugins/UAP/UAPPlugin.php

index 13c1017230feca80331bdca362ef5f2988425d11..f3b16548d25f43241f1c3b8d356cc82762058527 100644 (file)
@@ -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;
             }