Nathaniel van Diepen 11 years ago
parent
commit
5a3a6295bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api.php

+ 1 - 1
api.php

@@ -3,7 +3,7 @@
 	// TODO - Add API handling.
 	$method = $_SERVER['REQUEST_METHOD'];
 	if(isset($_GET['type'])){
-		if(isset($_GET['id']){
+		if(isset($_GET['id'])){
 			$id = $_GET['id'];
 			switch($_GET['type']){
 				case 'user':