Commit d423e0de authored by Laurent's avatar Laurent

Fix nesting level too deep in PHP 7.4

parent 0205dd9f
Pipeline #10831 passed with stage
in 21 seconds
......@@ -644,7 +644,7 @@ abstract class Storm_Model_Abstract {
protected function _array_diff(Array &$array1, Array &$array2) {
$diff = array();
foreach($array1 as $element) {
if (! in_array($element, $array2)) {
if (! in_array($element, $array2, true)) {
$diff []= $element;
}
......
Subproject commit eb090d1e732fa94a56cc5acabf3f4d74c3431eb4
Subproject commit 5f3536b8056ba98008029edbe4b630422631b097
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment