- Fix the fairname in the sql queries for students and volunteers

This commit is contained in:
dave 2007-12-10 03:08:08 +00:00
parent c44803e365
commit 5b282980ee
2 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ $report_students_fields = array(
'name' => 'Fair -- Name',
'header' => 'Fair Name',
'width' => 3,
'table' => "'{$config['fairname']}'"),
'table' => "'".mysql_escape_string($config['fairname'])."'"),
'static_text' => array (
'name' => 'Static Text (useful for labels)',

View File

@ -96,7 +96,7 @@ $report_volunteers_fields = array(
'name' => 'Fair -- Name',
'header' => 'Fair Name',
'width' => 3,
'table' => "'{$config['fairname']}'"),
'table' => "'".mysql_escape_string($config['fairname'])."'"),
'static_text' => array (
'name' => 'Static Text (useful for labels)',