cvs: pearweb / pearweb.php

From: Date: Tue, 20 Feb 2007 02:48:26 +0000
Subject: cvs: pearweb / pearweb.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5449@lists.php.net to get a copy of this message
cellog Tue Feb 20 02:48:26 2007 UTC Modified files: /pearweb pearweb.php Log: display MDB2_Schema error messages too http://cvs.php.net/viewvc.cgi/pearweb/pearweb.php?r1=1.7&r2=1.8&diff_format=u Index: pearweb/pearweb.php diff -u pearweb/pearweb.php:1.7 pearweb/pearweb.php:1.8 --- pearweb/pearweb.php:1.7 Tue Feb 20 02:46:20 2007 +++ pearweb/pearweb.php Tue Feb 20 02:48:26 2007 @@ -99,7 +99,7 @@ PEAR::staticPopErrorHandling(); if (PEAR::isError($c)) { $extra = ''; - if (MDB2::isError($c)) { + if (MDB2_Schema::isError($c) || MDB2::isError($c)) { $extra = "\n" . $c->getUserInfo(); } $this->_ui->outputData('ERROR: ' . $c->getMessage() . $extra);

« previous php.pear.core (#5449) next »