forked from science-ation/science-ation
Fix the divisions query to query the divisions from this year properly
This commit is contained in:
parent
e8353f011f
commit
a4faab66e0
@ -73,7 +73,7 @@ $table['header']=array( i18n("ID"),
|
|||||||
|
|
||||||
|
|
||||||
//grab the list of divisions, because the last fields of the table will be the sub-divisions
|
//grab the list of divisions, because the last fields of the table will be the sub-divisions
|
||||||
$q=mysql_query("SELECT * FROM projectdivisions ORDER BY id AND year='".$config['FAIRYEAR']."'");
|
$q=mysql_query("SELECT * FROM projectdivisions WHERE year='".$config['FAIRYEAR']."' ORDER BY id");
|
||||||
$divheadings=array();
|
$divheadings=array();
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user