Changeset 957
- Timestamp:
- 11/17/07 20:21:26 (1 year ago)
- Files:
-
- trunk/bb-includes/db-mysqli.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bb-includes/db-mysqli.php
r956 r957 165 165 } 166 166 167 // table name or mysql resource167 // table name or mysqli object 168 168 function db_version( $dbh = false ) { 169 169 if ( !$dbh ) 170 170 $dbh = $this->forums; 171 171 172 if ( !is_ resource( $dbh ) )172 if ( !is_object( $dbh ) ) 173 173 $dbh = $this->db_connect( "DESCRIBE $dbh" ); 174 174