/[dolibarr]/dolibarr/htdocs/telephonie/client/new.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/client/new.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by rodolphe, Wed Aug 24 08:05:04 2005 UTC revision 1.3 by rodolphe, Wed Aug 24 08:38:25 2005 UTC
# Line 178  if ($_POST["action"] == 'add') Line 178  if ($_POST["action"] == 'add')
178            $error++;            $error++;
179          }          }
180      }      }
   
   
181        
182    if (!$error && $verif == "ok")    if (!$error && $verif == "ok")
183      {      {
# Line 189  if ($_POST["action"] == 'add') Line 187  if ($_POST["action"] == 'add')
187          {          {
188                        
189          }          }
190          else
191            {
192              $error++;
193            }
194        }
195    
196    
197      if ((strlen(trim($_POST["rib_banque"])) + strlen(trim($_POST["rib_guichet"])) + strlen(trim($_POST["rib_compte"])) + strlen(trim($_POST["rib_cle"])))<> 0 && $verif == 'ok' && !$error)
198        {
199          $rib->soc_id = $soc->id;
200    
201          if ( $rib->update($user) > 0)
202            {
203              
204            }
205        else        else
206          {          {
207            $error++;            $error++;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26