mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 10:49:23 +02:00
spells.php TFS 0.3.6 compatibility.
This commit is contained in:
parent
c197b4de4f
commit
deea3599be
@ -50,6 +50,8 @@ if (user_logged_in() && is_admin($user_data)) {
|
||||
if ("$attributeName" == "name") {
|
||||
$vocId = vocation_name_to_id("$attributeValue");
|
||||
$vocations[] = ($vocId !== false) ? $vocId : "$attributeValue";
|
||||
} elseif ("$attributeName" == "id") {
|
||||
$vocations[] = (int)"$attributeValue";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user