Loading...
 
Features / Usability

Features / Usability


Re: Problems with CATEGORY

posts: 80 Austria

Hi!

Try
Copy to clipboard
sub => n

This works.

There seems to be an inconsistency in the documentation.
lib/wiki-plugins/wikiplugin_category.php

Here the plugin asks for y|n and translates it to true|false
Copy to clipboard
if (isset($sub) and substr(strtolower($sub),0,1) == 'n') { $sub = false; } else { $sub = true; }
because categlib needs it as true|false
Copy to clipboard
$categlib->get_categoryobjects($catids,$types,$sort,$split,$sub,$and)


Torpedro

There are no comments at this time.