DbLayeroo : error parenthesis

This commit is contained in:
2022-12-13 15:43:43 +01:00
parent d5c5806767
commit 303a188e7c

View File

@@ -1472,11 +1472,11 @@ class Dblayeroo
$this->DBException("Parameter foreign invalid: " .
"parameter 1 is not a string");
}
if (mb_strlen($params[0] > 64)) {
if (mb_strlen($params[0]) > 64) {
$this->DBException("Parameter foreign invalid: " .
"parameter 0 is too long");
}
if (mb_strlen($params[1] > 64)) {
if (mb_strlen($params[1]) > 64) {
$this->DBException("Parameter foreign invalid: " .
"parameter 1 is too long");
}