diff options
| -rw-r--r-- | adodb-active-record.inc.php | 4 | ||||
| -rw-r--r-- | adodb.inc.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/adodb-active-record.inc.php b/adodb-active-record.inc.php index 8f3b0053..ad40640a 100644 --- a/adodb-active-record.inc.php +++ b/adodb-active-record.inc.php @@ -281,7 +281,7 @@ class ADODB_Active_Record { static function TableBelongsTo($table, $foreignRef, $foreignKey=false, $parentKey='', $parentClass = 'ADODB_Active_Record') { - $ar = new ADOdb_Active_Record($table); + $ar = new ADODB_Active_Record($table); $ar->belongsTo($foreignRef, $foreignKey, $parentKey, $parentClass); } @@ -290,7 +290,7 @@ class ADODB_Active_Record { if (!is_array($tablePKey)) { $tablePKey = array($tablePKey); } - $ar = new ADOdb_Active_Record($table, $tablePKey); + $ar = new ADODB_Active_Record($table, $tablePKey); $ar->belongsTo($foreignRef, $foreignKey, $parentKey, $parentClass); } diff --git a/adodb.inc.php b/adodb.inc.php index c7a4ed3d..5a4600b3 100644 --- a/adodb.inc.php +++ b/adodb.inc.php @@ -1336,7 +1336,7 @@ if (!defined('_ADODB_LAYER')) { $this->_transOK = false; $this->RollbackTrans(); if ($this->debug) { - ADOCOnnection::outp("Smart Rollback occurred"); + ADOConnection::outp("Smart Rollback occurred"); } } |
