Index: trunk/extensions/Contest/api/ApiContestQuery.php |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Returns an instance of the ContestDBObject deriving class. |
33 | | - * Once PHP 5.3 becomes an accaptable requirement, we |
| 33 | + * Once PHP 5.3 becomes an acceptable requirement, we |
34 | 34 | * can get rid of this silly hack and simply return the class |
35 | 35 | * name (since all methods we need ought to be static in PHP >= 5.3). |
36 | 36 | * |
— | — | @@ -54,12 +54,12 @@ |
55 | 55 | |
56 | 56 | if ( count( $params['props'] ) > 0 ) { |
57 | 57 | $results = $this->getResults( $params, $this->getConditions( $params ) ); |
58 | | - $this->addResults( $params, $results ); |
| 58 | + $this->addResults( $params, $results ); |
59 | 59 | } |
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | | - * Get the request paramaters, handle the * value for the props param |
| 63 | + * Get the request parameters, handle the * value for the props param |
64 | 64 | * and remove all params set to null (ie those that are not actually provided). |
65 | 65 | * |
66 | 66 | * @since 0.1 |