Skip to content

Commit

Permalink
Allow NULL descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 committed Jul 1, 2022
1 parent 741a0af commit 7c3d293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Iframe/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function onEnable()

try {
DB::getInstance()->createTable("iframe_pages", " `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `url` varchar(255) NOT NULL, PRIMARY KEY (`id`)");
DB::getInstance()->createTable("iframe_data", " `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `src` varchar(5000) NOT NULL, `iframe_size` varchar(255) NOT NULL, `page_id` int(11) NOT NULL, `description` text NOT NULL, `footer_description` text NOT NULL, PRIMARY KEY (`id`)");
DB::getInstance()->createTable("iframe_data", " `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `src` varchar(5000) NOT NULL, `iframe_size` varchar(255) NOT NULL, `page_id` int(11) NOT NULL, `description` text NULL, `footer_description` text NULL, PRIMARY KEY (`id`)");
$group = DB::getInstance()->get('groups', ['id', '=', 2])->results();
$group = $group[0];

Expand Down

0 comments on commit 7c3d293

Please sign in to comment.