diff --git a/Admin/Installer.php b/Admin/Installer.php index f023893..fc72c09 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -49,6 +49,6 @@ final class Installer extends InstallerAbstract private static function installDefaultColors() : void { $setting = new Setting(); - SettingMapper::create($setting->with(0, '1007500001', '#ff000000;#ff00ff00;#ffffffff', 'Tag')); + SettingMapper::create($setting->with(0, '1007500001', '#ff000000;#ff00ff00;#ffffffff', '(#[a-fA-F0-9]{8};)*(#[a-fA-F0-9]{8})', 'Tag')); } } diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 1ef2110..722c280 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -1,4 +1,16 @@ -id; } - /** - * Set tag. - * - * @param int $tag Tag id - * - * @return void - * - * @since 1.0.0 - */ - public function setTag(int $tag) : void - { - $this->tag = $tag; - } - - /** - * Get tag - * - * @return int - * - * @since 1.0.0 - */ - public function getTag() : int - { - return $this->tag; - } - /** * Get language *