mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Typos
This commit is contained in:
@@ -718,7 +718,7 @@ class AjaxProfile extends AjaxHandler
|
||||
protected function checkUser($val)
|
||||
{
|
||||
if (User::isValidName($val))
|
||||
return $val
|
||||
return $val;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ class GuildPage extends GenericPage
|
||||
/**************/
|
||||
|
||||
// tab: members
|
||||
$member = new LocalProfileList(array(['p.guild', $this->subjectGUID]));
|
||||
$member = new LocalProfileList(array(['p.guild', $this->subjectGUID], CFG_SQL_LIMIT_NONE));
|
||||
if (!$member->error)
|
||||
{
|
||||
$this->lvTabs[] = ['profile', array(
|
||||
|
||||
2
prQueue
2
prQueue
@@ -87,7 +87,7 @@ while (DB::Aowow()->selectCell('SELECT value FROM ?_config WHERE `key` = "profil
|
||||
case TYPE_GUILD:
|
||||
if (!Profiler::getGuildFromRealm($row['realm'], $row['realmGUID']))
|
||||
{
|
||||
$error(TYPE_ARENA_GUILD, $row['realmGUID'], $row['realm']);
|
||||
$error(TYPE_GUILD, $row['realmGUID'], $row['realm']);
|
||||
continue 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -4659,14 +4659,21 @@ function ProfilerInventory(_parent) {
|
||||
|
||||
_mvInited = true;
|
||||
}
|
||||
else { /* aowow: the idea of this is to directly access the swf. it just doesn't work with the ZAMviewerfp11.swf */
|
||||
/*
|
||||
aowow: the idea of this is to directly access the swf.
|
||||
though ZAMviewerfp11.swf is unpredictable af
|
||||
|
||||
custom: try/catch; check for empty equipList
|
||||
*/
|
||||
else {
|
||||
_swfModel = $WH.ge(_swfModel.id);
|
||||
|
||||
if (_swfModel.clearSlots) {
|
||||
_swfModel.setAppearance(_profile.hairstyle, _profile.haircolor, _profile.facetype, _profile.skincolor, _profile.features, _profile.haircolor);
|
||||
|
||||
_swfModel.clearSlots(emptySlots);
|
||||
_swfModel.attachList(equipList);
|
||||
try { _swfModel.clearSlots(emptySlots); } catch (x) { }
|
||||
if (equipList.length)
|
||||
_swfModel.attachList(equipList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user