[svn-commits] russell: mantis/trunk r146 - /mantis/trunk/core/database_api.php

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 19 13:19:36 CST 2010


Author: russell
Date: Tue Jan 19 13:19:32 2010
New Revision: 146

URL: http://svnview.digium.com/svn/thirdparty?view=rev&rev=146
Log:
revert rev 145

Modified:
    mantis/trunk/core/database_api.php

Modified: mantis/trunk/core/database_api.php
URL: http://svnview.digium.com/svn/thirdparty/mantis/trunk/core/database_api.php?view=diff&rev=146&r1=145&r2=146
==============================================================================
--- mantis/trunk/core/database_api.php (original)
+++ mantis/trunk/core/database_api.php Tue Jan 19 13:19:32 2010
@@ -368,11 +368,6 @@
 	function db_prepare_string( $p_string ) {
 		global $g_db;
 		$t_db_type = config_get( 'db_type' );
-
-                # XXX Avoid sometimes blowing up when using the SOAP API ...
-                if (is_string($p_string) == false) {
-                        return;
-		}
 
 		switch( $t_db_type ) {
 			case 'mssql':




More information about the svn-commits mailing list