[CS-Project-svn_notify] SF.net SVN: cs-project:[901] trunk/1.2/includes/setup/3.inc
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-07-21 03:48:55
|
Revision: 901 http://cs-project.svn.sourceforge.net/cs-project/?rev=901&view=rev Author: crazedsanity Date: 2008-07-21 03:48:49 +0000 (Mon, 21 Jul 2008) Log Message: ----------- Fix a weird insert problem with cs_globalFunctions::string_from_array() when a cleanString argument is sent... Modified Paths: -------------- trunk/1.2/includes/setup/3.inc Modified: trunk/1.2/includes/setup/3.inc =================================================================== --- trunk/1.2/includes/setup/3.inc 2008-07-21 03:20:21 UTC (rev 900) +++ trunk/1.2/includes/setup/3.inc 2008-07-21 03:48:49 UTC (rev 901) @@ -822,7 +822,7 @@ 1 => array('startModule', 'helpdesk', 'Starting on Module', 'Defines which section will be loaded upon login if nothing was selected.'), 5 => array('sorting_helpdesk', 'public_id|DESC', 'Helpdesk Sorting', 'Define the type of sorting for the helpdesk page.'), 6 => array('sorting_project', 'priority|ASC', 'Project Sorting', 'Define the type of sorting for the helpdesk page.'), - 7 => array('projectDetails_taskDisplayOnlyMine', 'all', 'Project Details: Task display', 'Define what tasks are displayed on a project\'s details page.'), + 7 => array('projectDetails_taskDisplayOnlyMine', 'all', 'Project Details: Task display', 'Define what tasks are displayed on a project\\\'s details page.'), 8 => array('projectDetails_showCompletedIssues', '1', 'Project Details: Display completed issues', 'Should completed issues display in the details of a project?') ); @@ -836,7 +836,7 @@ 'description' => $subData[3] ); - $sql = "INSERT INTO pref_type_table ". $this->gfObj->string_from_array($insertArr, 'insert', NULL, 'sql'); + $sql = "INSERT INTO pref_type_table ". $this->gfObj->string_from_array($insertArr, 'insert', NULL, 'sql_insert'); $numrows = $this->db->exec($sql); $dberror = $this->db->errorMsg(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |