Resolved issue 0000763: mail triggers:

Add triggers on mail part:
  o NBM
  o Group mail
  o process send mail

+ check groud_id null on group mail


git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2139 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-10-16 20:45:00 +00:00
parent 0fea350295
commit a2e3963cb0
4 changed files with 137 additions and 39 deletions
+2 -2
View File
@@ -529,7 +529,7 @@ display_select_cat_wrapper(
);
// info by email to an access granted group of category informations
if (isset($_POST['submitEmail']))
if (isset($_POST['submitEmail']) and !empty($_POST['group']))
{
set_make_full_url();
@@ -640,7 +640,7 @@ SELECT
while ($row = mysql_fetch_array($result))
{
$template->assign_block_vars(
'group_option',
'group_mail.group_option',
array(
'VALUE' => $row['id'],
'OPTION' => $row['name'],