Lowercased switch cases in UAP Plugin

This commit is contained in:
Sarven Capadisli 2010-01-21 18:28:02 +01:00 committed by Evan Prodromou
parent 61a7a7b36b
commit 58fde0dcb5

View 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;
}