Changeset 553

Show
Ignore:
Timestamp:
07/28/05 09:42:37 (7 years ago)
Author:
rcourtna
Message:

oops, forgot to define $currentFile for the functions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/AMP/amp_conf/htdocs/admin/devices.php

    r552 r553  
    364364  sipexists(); 
    365365  global $db; 
     366  global $currentFile; 
    366367  $sipfields = array(array($account,'account',$account), 
    367368  array($account,'accountcode',($_REQUEST['accountcode'])?$_REQUEST['accountcode']:''), 
     
    419420function delsip($account) { 
    420421  global $db; 
     422  global $currentFile; 
    421423    $sql = "DELETE FROM sip WHERE id = '$account'"; 
    422424    $result = $db->query($sql); 
     
    446448function addiax2($account) { 
    447449  global $db; 
     450  global $currentFile; 
    448451  $iaxfields = array(array($account,'account',$account), 
    449452  array($account,'secret',($_REQUEST['secret'])?$_REQUEST['secret']:''), 
     
    495498function deliax2($account) { 
    496499  global $db; 
     500  global $currentFile; 
    497501    $sql = "DELETE FROM iax WHERE id = '$account'"; 
    498502    $result = $db->query($sql); 
     
    522526  zapexists(); 
    523527  global $db; 
     528  global $currentFile; 
    524529  $zapfields = array( 
    525530  array($account,'account',$account), 
     
    579584function delzap($account) { 
    580585  global $db; 
     586  global $currentFile; 
    581587    $sql = "DELETE FROM zap WHERE id = '$account'"; 
    582588    $result = $db->query($sql);