Loading l3m.sql +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; USE l3m; CREATE TABLE `l3m_blog` ( `id` int(11) NOT NULL, `time` datetime NOT NULL, Loading site/model/BlogManager.php +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class BlogManager extends Base $this->slug = $this->slugify($this->title); $db = $this->dbConnect(); $req = $db->prepare('INSERT INTO l3m_blog(time, title, slug, content, shortcontent) VALUES(:time, :title, :slug, :content, :shortContent)'); $req = $db->prepare('INSERT INTO l3m_blog(time, title, slug, content, shortContent) VALUES(:time, :title, :slug, :content, :shortContent)'); $req->execute([ 'time' => $this->time, 'title' => $this->title, Loading Loading
l3m.sql +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; USE l3m; CREATE TABLE `l3m_blog` ( `id` int(11) NOT NULL, `time` datetime NOT NULL, Loading
site/model/BlogManager.php +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class BlogManager extends Base $this->slug = $this->slugify($this->title); $db = $this->dbConnect(); $req = $db->prepare('INSERT INTO l3m_blog(time, title, slug, content, shortcontent) VALUES(:time, :title, :slug, :content, :shortContent)'); $req = $db->prepare('INSERT INTO l3m_blog(time, title, slug, content, shortContent) VALUES(:time, :title, :slug, :content, :shortContent)'); $req->execute([ 'time' => $this->time, 'title' => $this->title, Loading