mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 18:53:26 +02:00
Version v0.0.2
* updated forum links to use friendly_urls * some more info will be shown when cannot connect to database * show more error infos when creating character * fixed forum link on newses * fixed spells loading when there's vocation name instead of id * fixed bug when you have changed template but it doesn't exist anymore * fixed vocations with promotion loading * fixed support for gesior pages and templates * added function OTS_Acount:getGroupId()
This commit is contained in:
@@ -121,10 +121,10 @@ else {
|
||||
$config['vocations'] = array();
|
||||
foreach($vocations->getElementsByTagName('vocation') as $vocation) {
|
||||
$id = $vocation->getAttribute('id');
|
||||
if($id == $vocation->getAttribute('fromvoc'))
|
||||
//if($id == $vocation->getAttribute('fromvoc'))
|
||||
$config['vocations'][$id] = $vocation->getAttribute('name');
|
||||
else
|
||||
$config['vocations'][$id + 4] = $vocation->getAttribute('name');
|
||||
//else
|
||||
// $config['vocations'][$id] = $vocation->getAttribute('name');
|
||||
}
|
||||
|
||||
if($cache->enabled()) {
|
||||
|
Reference in New Issue
Block a user