[Cs-content-commits] SF.net SVN: cs-content:[322] trunk/0.10/db_types/cs_phpDB__pgsql.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-01-22 20:07:31
|
Revision: 322 http://cs-content.svn.sourceforge.net/cs-content/?rev=322&view=rev Author: crazedsanity Date: 2009-01-22 20:07:22 +0000 (Thu, 22 Jan 2009) Log Message: ----------- Don't throw an exception if the password field is blank. /db_types/cs_phpDB__pgsql.class.php: * set_db_info(): -- allow "password" to be blank (for trusted/local connections). Modified Paths: -------------- trunk/0.10/db_types/cs_phpDB__pgsql.class.php Modified: trunk/0.10/db_types/cs_phpDB__pgsql.class.php =================================================================== --- trunk/0.10/db_types/cs_phpDB__pgsql.class.php 2009-01-20 05:18:20 UTC (rev 321) +++ trunk/0.10/db_types/cs_phpDB__pgsql.class.php 2009-01-22 20:07:22 UTC (rev 322) @@ -136,7 +136,7 @@ $requiredCount = 0; foreach($required as $index) { - if(isset($params[$index])) { + if(isset($params[$index]) || $index == 'password') { $this->$index = $params[$index]; $requiredCount++; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |