forked from science-ation/science-ation
- Fix the fairname in the sql queries for students and volunteers
This commit is contained in:
parent
c44803e365
commit
5b282980ee
@ -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)',
|
||||
|
@ -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)',
|
||||
|
Loading…
x
Reference in New Issue
Block a user