Skip to content

Commit 5878c7d

Browse files
committed
Oeps, glitch
1 parent 6ede8db commit 5878c7d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

application/Espo/Modules/HookedFormulas/Core/Formula/Functions/ToDoubleType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(\StdClass $item)
4343
throw new Error();
4444
}
4545

46-
if (count($item->value) == 1 ) {
46+
if (count($item->value) != 1 ) {
4747
throw new Error();
4848
}
4949

application/Espo/Modules/HookedFormulas/Core/Formula/Functions/ToIntType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(\StdClass $item)
4343
throw new Error();
4444
}
4545

46-
if (count($item->value) == 1 ) {
46+
if (count($item->value) != 1 ) {
4747
throw new Error();
4848
}
4949

application/Espo/Modules/HookedFormulas/Core/Formula/Functions/ToStringType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(\StdClass $item)
4343
throw new Error();
4444
}
4545

46-
if (count($item->value) == 1 ) {
46+
if (count($item->value) != 1 ) {
4747
throw new Error();
4848
}
4949

0 commit comments

Comments
 (0)