From 07a7fbbc6ab7ef52b1313c995322374c89095821 Mon Sep 17 00:00:00 2001 From: Nicola Galgano Date: Tue, 8 Sep 2015 08:49:37 +0200 Subject: [PATCH] installation fix on MSSQL testing this one #7832 i was unable to install pkg_weblinks on MSSQL the problem was that these fields (version,hits,modified_user_id,checked_out) was passed like a string instead of bigint --- src/com_weblinks/script.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com_weblinks/script.php b/src/com_weblinks/script.php index f42fb3d..c00f5c2 100644 --- a/src/com_weblinks/script.php +++ b/src/com_weblinks/script.php @@ -43,6 +43,10 @@ class Com_WeblinksInstallerScript $category->metadata = '{"author":"","robots":""}'; $category->language = '*'; $category->checked_out_time = JFactory::getDbo()->getNullDate(); + $category->version = 1; + $category->hits = 0; + $category->modified_user_id=0; + $category->checked_out=0; // Set the location in the tree $category->setLocation(1, 'last-child');