forked from extern/egroupware
"added missing default for new $strip parameter of categories::name2id() added by Patric, to be compatible with the current code not giving that parameter and generating warnings because of that
Thanks to regime2000-at-gmx.de from the German list."
This commit is contained in:
parent
71d98434fe
commit
b3f40cdff8
@ -603,9 +603,10 @@
|
||||
* - cat's of other user
|
||||
*
|
||||
* @param string $cat_name cat-name
|
||||
* @param boolean $strip=false if true, strips 'X-' from category names added by some SyncML clients
|
||||
* @return int cat-id or 0 if not found
|
||||
*/
|
||||
function name2id($cat_name,$strip)
|
||||
function name2id($cat_name,$strip=false)
|
||||
{
|
||||
static $cache = array(); // a litle bit of caching
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user