From fe5f43247995bb8fc0d8b0ef4ae2b40c8f9bc686 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 16 Apr 2008 07:02:08 +0200 Subject: [PATCH] [svn r14914] Replaced array_walk() by foreach() as array_walk didn't allow only one parameter to be passed to called function. Removed warning message on document tool's homepage. --- main/document/document.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/document/document.inc.php b/main/document/document.inc.php index b4d0021f48..9343400d15 100644 --- a/main/document/document.inc.php +++ b/main/document/document.inc.php @@ -1,4 +1,4 @@ -$val){$escaped_folders[$key] = Database::escape_string($val);} $folder_sql = implode("','",$escaped_folders); $doc_table = Database::get_course_table(TABLE_DOCUMENT); $sql = "SELECT * FROM $doc_table WHERE filetype='folder' AND path IN ('".$folder_sql."')";