Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit 8e446e7

Browse files
author
Jens Krumsieck
committed
fix lbl sys
1 parent 06f355f commit 8e446e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

files/lib/form/LinkAddForm.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function assignVariables(){
141141
}
142142

143143
protected function validateLabelIDs() {
144-
if (!LinkLabelObjectHandler::getInstance()->validateLabelIDs($this->labelIDs, 'canSetLabel')) {
144+
if (!LinkLabelObjectHandler::getInstance()->validateLabelIDs($this->labelIDs)) {
145145
throw new UserInputException('labelIDs');
146146
}
147147
}

files/lib/form/LinkEditForm.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function readFormParameters() {
142142
}
143143

144144
protected function validateLabelIDs() {
145-
if (!LinkLabelObjectHandler::getInstance()->validateLabelIDs($this->labelIDs, 'canSetLabel')) {
145+
if (!LinkLabelObjectHandler::getInstance()->validateLabelIDs($this->labelIDs)) {
146146
throw new UserInputException('labelIDs');
147147
}
148148
}

0 commit comments

Comments
 (0)