Skip to content
Permalink
Browse files

fixes #726, add trigger in create_virtual_category

  • Loading branch information...
plegall committed Jul 3, 2017
1 parent 6126a09 commit f520f82736ce8488e4f750b5c7cc2287c2cdb53a
Showing with 2 additions and 0 deletions.
  1. +2 −0 admin/include/functions.php
@@ -1546,6 +1546,8 @@ function create_virtual_category($category_name, $parent_id=null, $options=array
add_permission_on_category($inserted_id, array_unique(array_merge(get_admins(), array($user['id']))));
}
trigger_notify('create_virtual_category', array_merge(array('id'=>$inserted_id), $insert));
return array(
'info' => l10n('Virtual album added'),
'id' => $inserted_id,

0 comments on commit f520f82

Please sign in to comment.
You can’t perform that action at this time.