fix: api.module.RESTexample (removed unset variable)

This commit is contained in:
xdrm-brackets 2017-11-26 11:42:10 +01:00
parent e10382155a
commit eef40ce771
1 changed files with 1 additions and 2 deletions

View File

@ -93,7 +93,6 @@ class RESTexample{
// UPDATE an article with new content with variables:
$URL_0; // id of article to update
$title; // new article's title
$content; // new article's content
// ...
@ -104,7 +103,7 @@ class RESTexample{
if( !$success )
return ['error' => new Error(Err::ModuleError)]; // or other `Err` constant
return ['article' => "Article number `$URL_0`: $title / $content"];
return ['article' => "Article number `$URL_0`: sometitle / $content"];
}