From 4eedf2a070cc6cfbcb199a7abe30b42d8460998c Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Tue, 30 Jan 2007 12:51:14 +0100 Subject: [PATCH] [svn r11011] fix a minor bug --- main/work/work.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main/work/work.php b/main/work/work.php index 0281555dc7..56e13ea2de 100644 --- a/main/work/work.php +++ b/main/work/work.php @@ -23,7 +23,7 @@ * @author Patrick Cool , Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default. * @author Roan Embrechts, code refactoring and virtual course support * @author Frederic Vauthier, directories management -* @version $Id: work.php 10902 2007-01-25 14:44:35Z elixir_julian $ +* @version $Id: work.php 11011 2007-01-30 11:51:14Z elixir_julian $ * * @todo refactor more code into functions, use quickforms, coding standards, ... */ @@ -632,10 +632,10 @@ if($_POST['submitWork'] && $is_course_member) } $sql_add_publication = "INSERT INTO ".$work_table." - SET url = '".mysql_real_escape_string($url)."', - title = '".mysql_real_escape_string($title)."', - description = '".mysql_real_escape_string($description)."', - author = '".mysql_real_escape_string($authors)."', + SET url = '".$url."', + title = '".$title."', + description = '".$description."', + author = '".$authors."', active = '".$active."', accepted = '".(!$uploadvisibledisabled)."', post_group_id = '".$post_group_id."',