We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 58fde0dc authored by Sarven Capadisli's avatar Sarven Capadisli Committed by Evan Prodromou

Lowercased switch cases in UAP Plugin

parent 61a7a7b3
......@@ -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;
}
......
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