mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-26 22:08:27 +00:00
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:
parent
e1ed479219
commit
07a7fbbc6a
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user