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