cvs: pear /MDB2_Schema/MDB2 Schema.php

From: Date: Thu, 15 Dec 2005 03:12:15 +0000
Subject: cvs: pear /MDB2_Schema/MDB2 Schema.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36873@lists.php.net to get a copy of this message
dufuz Thu Dec 15 03:12:15 2005 EDT Modified files: /pear/MDB2_Schema/MDB2 Schema.php Log: Use the right object http://cvs.php.net/viewcvs.cgi/pear/MDB2_Schema/MDB2/Schema.php?r1=1.46&r2=1.47&diff_format=u Index: pear/MDB2_Schema/MDB2/Schema.php diff -u pear/MDB2_Schema/MDB2/Schema.php:1.46 pear/MDB2_Schema/MDB2/Schema.php:1.47 --- pear/MDB2_Schema/MDB2/Schema.php:1.46 Wed Dec 14 10:37:37 2005 +++ pear/MDB2_Schema/MDB2/Schema.php Thu Dec 15 03:12:15 2005 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: Schema.php,v 1.46 2005/12/14 10:37:37 dufuz Exp $ +// $Id: Schema.php,v 1.47 2005/12/15 03:12:15 dufuz Exp $ // require_once 'MDB2.php'; @@ -751,7 +751,7 @@ // Lower / Upper case the db name if the portability deems so. if ($this->db->options['portability'] & MDB2_PORTABILITY_FIX_CASE) { - $func = $db->options['field_case'] == CASE_LOWER ? 'strtolower' : 'strtoupper'; + $func = $this->db->options['field_case'] == CASE_LOWER ? 'strtolower' : 'strtoupper'; $db_name = $func($this->database_definition['name']); }

« previous php.pear.cvs (#36873) next »