30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-10 18:22:20 +00:00

Merge pull request #88 from alikon/patch-2

installation fix on MSSQL
This commit is contained in:
Viktor Vogel 2015-11-01 10:49:46 +01:00
commit 16e02d58c4

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