Updated edit extension, thanks Neto

This commit is contained in:
markseu 2020-07-20 16:21:49 +02:00
parent 636bb37fa7
commit ccd9f2a310

View file

@ -4,7 +4,7 @@
// This file may be used and distributed under the terms of the public license.
class YellowEdit {
const VERSION = "0.8.27";
const VERSION = "0.8.28";
const TYPE = "feature";
public $yellow; //access to API
public $response; //web response
@ -878,7 +878,7 @@ class YellowEdit {
$email = $this->yellow->page->getRequest("email");
$action = $this->yellow->page->getRequest("action");
$expire = $this->yellow->page->getRequest("expire");
$langauge = $this->yellow->page->getRequest("language");
$language = $this->yellow->page->getRequest("language");
if ($this->users->checkActionToken($actionToken, $email, $action, $expire)) {
$ok = true;
$this->response->language = $this->getActionLanguage($language);