Переглянути джерело

*REAL* fix

I should test locally when I find an issue on the test server....
Nathaniel van Diepen 11 роки тому
батько
коміт
668e0acb25
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      php/messages.php

+ 1 - 1
php/messages.php

@@ -6,7 +6,7 @@
 			case 'project':
 				if($res = query("SELECT m.id, u.name, m.message, UNIX_TIMESTAMP(m.timestamp) as timestamp FROM `messages` m JOIN `users` u ON u.id = m.from_id WHERE m.p_id='%d'",Array($id))){
 					$arr = Array();
-					while($row = $res->fetch_assoc())){
+					while($row = $res->fetch_assoc()){
 						array_push($arr,$row);
 					}
 					return $arr;