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
This commit is contained in:
Nicola Galgano 2015-09-08 08:49:37 +02:00
parent e1ed479219
commit 07a7fbbc6a
1 changed files with 4 additions and 0 deletions

View File

@ -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');