Fixing various
This commit is contained in:
committed by
Antz
parent
f79e902477
commit
24e1fac367
@@ -81,10 +81,18 @@ switch ($what) {
|
||||
save_cache(11, $id, $quest);
|
||||
}
|
||||
$x .= '$WowheadPower.registerQuest(' . $id . ', 0,{';
|
||||
if ($quest['name'])
|
||||
$x .= 'name: \'' . str_normalize($quest['name']) . '\',';
|
||||
if (isset($quest['Title']))
|
||||
{
|
||||
$x .= 'name: \'' . str_normalize($quest['Title']) . '\',';
|
||||
}
|
||||
else
|
||||
{
|
||||
$x .= 'name: \'' . 'error' . '\',';
|
||||
}
|
||||
if ($quest['tooltip'])
|
||||
{
|
||||
$x .= 'tooltip: \'' . str_normalize($quest['tooltip']) . '\'';
|
||||
}
|
||||
$x .= '});';
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user