Skip to content

Commit

Permalink
Merge pull request #3 from dle-modules/2.3.2
Browse files Browse the repository at this point in the history
Fixed #1 query to prevent errors in mysql 5.5
  • Loading branch information
pafnuty authored Nov 21, 2018
2 parents d4ddf23 + abb3b51 commit d4039c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions catface_installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function module_installer()
// Cоздание таблицы для модуля
$query = "CREATE TABLE `".PREFIX."_category_face` (
`category_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`name_pages` varchar(255) NOT NULL,
`name` varchar(150) NOT NULL,
`name_pages` text NOT NULL,
`description` text NOT NULL,
`description_pages` text NOT NULL,
`module_placement` enum('nowhere','first_page','all_pages') NOT NULL,
Expand Down Expand Up @@ -91,7 +91,7 @@ function module_installer()
$output .= '</form>';
$output .= '</p>';
}

$output .= '<p>';
$output .= '<a href="http://alaev.info/blog/post/2086?from=CatFaceInstaller">разработка и поддержка модуля</a>';
$output .= '</p>';
Expand Down

0 comments on commit d4039c0

Please sign in to comment.