Changeset 115 for branches/1.1dev/lib


Ignore:
Timestamp:
May 15, 2006 8:15:18 PM (18 years ago)
Author:
scdev
Message:

Q - fixed small mcve bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/MCVE.inc.php

    r1 r115  
    6464        default :
    6565            logMsg('Connection method not defined.', LOG_ERR, __FILE__, __LINE__);
     66            return false;
    6667        }
    6768       
     
    8990       
    9091        $this->connected = true;
     92        return true;
    9193    }
    9294   
    9395    function beginTrans()
    9496    {
    95         $this->_connect();
     97        if (!$this->_connect()) {
     98            return false;
     99        }
    96100        $tid = MCVE_TransNew($this->conn); // Allocate memory for sending a transaction.
    97101        $this->transParam($tid, MC_USERNAME, $this->username);
Note: See TracChangeset for help on using the changeset viewer.