corrected checkLocalGroup() validation if setting did not change, fixes #1111
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -291,7 +291,7 @@ class Check
|
|||||||
*/
|
*/
|
||||||
public static function checkLocalGroup($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
public static function checkLocalGroup($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
||||||
{
|
{
|
||||||
if (empty($newfieldvalue) || $fielddata == $newfieldvalue) {
|
if (empty($newfieldvalue) || $fielddata['value'] == $newfieldvalue) {
|
||||||
$returnvalue = [
|
$returnvalue = [
|
||||||
self::FORMFIELDS_PLAUSIBILITY_CHECK_OK
|
self::FORMFIELDS_PLAUSIBILITY_CHECK_OK
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user