Some minor bug fixes

This commit is contained in:
2026-08-25 18:37:42 +02:00
parent 46d4702471
commit 0d4b159ab3
17 changed files with 42 additions and 49 deletions
-3
View File
@@ -3,7 +3,6 @@
namespace Franzz\Livetrail;
use Franzz\Objects\PhpObject;
use Franzz\Objects\Db;
use \Settings;
class Project extends PhpObject {
@@ -28,7 +27,6 @@ class Project extends PhpObject {
private $sCodeName;
private $sMode;
private $asActive;
private $asGeo;
public function __construct(Db &$oDb, $iProjectId=0) {
parent::__construct(__CLASS__);
@@ -195,7 +193,6 @@ class Project extends PhpObject {
$this->sCodeName = $asProject['codename'];
$this->sMode = $asProject['mode'];
$this->asActive = array('from'=>$asProject['active_from'], 'to'=>$asProject['active_to']);
$this->asGeo = array(/*'geofile'=>$asProject['geofilepath'], */'gpxfile'=>$asProject['gpxfilepath']);
}
else $this->addError('Error while setting project: no project ID');
}