From 159dade2abdca100bba75f7bd71e16d9043ada3b Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 17 Feb 2015 15:37:01 +0100 Subject: [PATCH] fix warning strpos : $description is an array, not a string --- main/course_description/course_description_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/course_description/course_description_controller.php b/main/course_description/course_description_controller.php index e642204b15..f62934dc87 100755 --- a/main/course_description/course_description_controller.php +++ b/main/course_description/course_description_controller.php @@ -45,7 +45,7 @@ class CourseDescriptionController $data['descriptions'] = array($data['descriptions']); } foreach ($data['descriptions'] as $description) { - if (strpos($description, '