Index: branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php |
— | — | @@ -85,7 +85,8 @@ |
86 | 86 | }
|
87 | 87 |
|
88 | 88 | extract($this->extractRequestParams());
|
89 | | -
|
| 89 | + // Ensure the correct timestamp format
|
| 90 | + $edittime =eregi_replace("[-,a-z,:]","",$edittime);
|
90 | 91 | $object_title = Title::newFromDBkey($title);
|
91 | 92 | $myArticle = new Article($object_title);
|
92 | 93 |
|