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;
case 'Rectangle':
case 'rectangle':
$this->Rectangle = $value;
case 'Leaderboard':
case 'leaderboard':
$this->Leaderboard = $value;
case 'WideSkyscraper':
case 'wideskyscraper':
$this->WideSkyscraper = $value;
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