Ignore:
Timestamp:
Jan 21, 2010, 3:13:47 PM (14 years ago)
Author:
cljosse
Message:

[mail_supervisor] Add option for new register

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/include/fonctions.php

    r4451 r4715  
    4141global $lang ;
    4242
    43 
    4443include_once (MAIL_SUPERV_PATH.'include/function_test_send.php');
    45 
    46 
    4744    load_language('plugin.lang', MAIL_SUPERV_PATH);
    48 
    49 
    5045global  $superv_champs , $superv_type ,$superv_bl_champs , $superv_bl_type ;
    5146         
     
    5651 if ( isset($mails_options) )
    5752        {
    58           if ( count($mails_options) > 6 )
     53         
     54         while ( count($mails_options) < 10 )
    5955           {
     56         
     57              $mails_options[]='?';
     58           }
     59           
    6060                $valeurs = implode( ',',$mails_options);
    6161                $query = '
     
    6565                LIMIT 1';
    6666                        pwg_query($query);
    67           }
     67         
    6868        }
    6969}
     
    638638 
    639639if (count($mails_options) < 7 ) return false ;
    640   Get_Geo();
     640     Get_Geo();
    641641     $champs=implode(',',$superv_bl_champs);
    642642     $query = "
Note: See TracChangeset for help on using the changeset viewer.