Resolved issue 0000763: mail triggers:

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

+ check group_id null on group mail

Merge branch-1_7 2138:2139 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2140 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub 2007-10-16 21:18:11 +00:00
commit c1cd43c874
4 changed files with 134 additions and 39 deletions

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'],