Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Commit

Permalink
Oh my god I am a moron.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjojo committed Feb 18, 2013
1 parent 7d37a96 commit a0b21eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$ProblemsSQL = mysql_query("SELECT * FROM `Problems` WHERE `ClassID` = '$ClassID' ORDER BY `Problems`.`ProblemID` DESC LIMIT 5;");
$ProblemArray = json_decode("[[],[],[],[],[]]"); // wat.
$Count = 0;
while($row = mysql_fetch_array($challenge))
while($row = mysql_fetch_array($ProblemsSQL))
{
$Prob = array(
'id' => $row['ProblemID'],
Expand Down

0 comments on commit a0b21eb

Please sign in to comment.