From eef40ce7713878a49e87b7d378d3948332ee91fe Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 26 Nov 2017 11:42:10 +0100 Subject: [PATCH] fix: api.module.RESTexample (removed unset variable) --- build/api/module/RESTexample.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/api/module/RESTexample.php b/build/api/module/RESTexample.php index c73fe1f..ab1626a 100755 --- a/build/api/module/RESTexample.php +++ b/build/api/module/RESTexample.php @@ -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"]; }