Changeset 586


Ignore:
Timestamp:
01/08/09 17:36:45 (11 years ago)
Author:
niltonneto
Message:

Correção no método que insere log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.db_functions.inc.php

    r548 r586  
    574574                $sql = "INSERT INTO phpgw_expressoadmin_log (date, manager, action, userinfo) " 
    575575                . "VALUES('now','" . $_SESSION['phpgw_info']['expresso']['user']['account_lid'] . "','" . strtolower($action) . "','" . strtolower($about) . "')"; 
    576                 $this->db->query($sql); 
    577                 return; 
     576                 
     577                if (!$this->db->query($sql)) 
     578                { 
     579                        //echo pg_last_error(); 
     580                        return false; 
     581        } 
     582         
     583                return true; 
    578584        } 
    579585         
Note: See TracChangeset for help on using the changeset viewer.