commit a6f6de53854d97f55af86b483d24290bb8b76955
parent 5ec34145f2ffe29f60c79e7be0b69a09d784f8a1
Author: markseu <mark2011@mayberg.se>
Date: Sun, 17 Jun 2018 20:59:17 +0200
Updated editor, thanks Norbert
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/plugins/edit.php b/system/plugins/edit.php
@@ -5,7 +5,7 @@
class YellowEdit
{
- const VERSION = "0.7.20";
+ const VERSION = "0.7.21";
var $yellow; //access to API
var $response; //web response
var $users; //user accounts
@@ -49,7 +49,7 @@ class YellowEdit
{
list($hash, $name, $language, $status, $stamp, $modified, $errors, $pending, $home) = explode(',', $matches[2]);
if($errors=="none") { $home=$pending; $pending=$errors; $errors=$modified; $modified=$stamp; $stamp=""; } //TODO: remove later
- if(strlenb($stamp)!=20) $stamp=$this->createStamp(); //TODO: remove later, converts old file format
+ if(strlenb($stamp)!=20) $stamp=$this->users->createStamp(); //TODO: remove later, converts old file format
if($status!="active" && $status!="inactive") { unset($this->users->users[$matches[1]]); continue; }
$pending = "none";
$this->users->set($matches[1], $hash, $name, $language, $status, $stamp, $modified, $errors, $pending, $home);