diff --git a/src/Dblayeroo.php b/src/Dblayeroo.php index 8028afa..02a594d 100644 --- a/src/Dblayeroo.php +++ b/src/Dblayeroo.php @@ -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"); }