fml profile scirpt fix
This commit is contained in:
parent
3c77d8a5a4
commit
3aa8eabb54
@ -745,7 +745,7 @@ if (Event.Control.HasClass(\"" . self::CLASS_PAGER . "\")) {
|
|||||||
$profileScript = "
|
$profileScript = "
|
||||||
if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\")) {
|
if (Event.Control.HasClass(\"" . self::CLASS_PROFILE . "\")) {
|
||||||
declare Login = LocalUser.Login;
|
declare Login = LocalUser.Login;
|
||||||
if (!Event.Control.HasClass(\"" . self::OPTION_PROFILE_OWN . "\") {
|
if (!Event.Control.HasClass(\"" . self::OPTION_PROFILE_OWN . "\")) {
|
||||||
foreach (ControlClass in Event.Control.ControlClasses) {
|
foreach (ControlClass in Event.Control.ControlClasses) {
|
||||||
declare ClassParts = TextLib::Split(\"-\", ControlClass);
|
declare ClassParts = TextLib::Split(\"-\", ControlClass);
|
||||||
if (ClassParts.count < 2) continue;
|
if (ClassParts.count < 2) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user