@@ -22,8 +22,8 @@ discard block |
||
| 22 | 22 | "Downloads" => array("Crew", "Details", "TOS"), |
| 23 | 23 | "Format" => array("Format"), |
| 24 | 24 | "Game series" => array("Game", "Series"), |
| 25 | - "Games" => array("AKA", "Box back", "Box front", "Comment","Creator", |
|
| 26 | - "Developer", "Fact", "File", "Mag score", "Music","Game", "Publisher", |
|
| 25 | + "Games" => array("AKA", "Box back", "Box front", "Comment", "Creator", |
|
| 26 | + "Developer", "Fact", "File", "Mag score", "Music", "Game", "Publisher", |
|
| 27 | 27 | "Review", "Review comment", "Screenshot", "Similar", "Submission", "Year", |
| 28 | 28 | "Release", "Sound hardware", "Video", "Vs" |
| 29 | 29 | ), |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | $this->id = $id; |
| 71 | 71 | |
| 72 | 72 | // Check if the section is valid |
| 73 | - if (! array_key_exists($section, self::SECTIONS)) { |
|
| 73 | + if (!array_key_exists($section, self::SECTIONS)) { |
|
| 74 | 74 | die("Unknown section '$section'. Only " |
| 75 | 75 | .join(", ", array_keys(self::SECTIONS))." are supported"); |
| 76 | 76 | } |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | $this->section_value = $section_value; |
| 80 | 80 | |
| 81 | 81 | // Check is the sub-section is valid for the section |
| 82 | - if (! in_array($sub_section, self::SECTIONS[$section])) { |
|
| 82 | + if (!in_array($sub_section, self::SECTIONS[$section])) { |
|
| 83 | 83 | die("Unknown sub-section '$sub_section'. Only " |
| 84 | 84 | .join(", ", self::SECTIONS[$section])." are supported for $section"); |
| 85 | 85 | } |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $this->user_id = $user_id; |
| 91 | 91 | |
| 92 | 92 | // Check if the action is valid |
| 93 | - if (! in_array($action, self::ACTIONS)) { |
|
| 93 | + if (!in_array($action, self::ACTIONS)) { |
|
| 94 | 94 | die("Unknown action '$action'. Only ".self::ACTIONS." are supported"); |
| 95 | 95 | } |
| 96 | 96 | $this->action = $action; |