diff --git a/src/app/search/controllers/SearchController.php b/src/app/search/controllers/SearchController.php index ce0e47e54965a8602472b03d5c7ed84a022195e0..f55e3a041fe295b5d1c441b8a8b09f01bd74c737 100755 --- a/src/app/search/controllers/SearchController.php +++ b/src/app/search/controllers/SearchController.php @@ -187,8 +187,7 @@ class SearchController if (empty($value['status'])) { $currentFound = true; } - - $state = str_replace(['END'], ['REF'], $value['status']); + $state = str_replace(['END'], ['REF'], array($value['status'])); if (empty($value['status'])) { $state = 'PROG'; }