typo in function name

This commit is contained in:
friendica 2012-03-29 16:01:44 -07:00
parent e935b3a225
commit 5921dc6f16
2 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '2.3.1295' );
define ( 'FRIENDICA_VERSION', '2.3.1296' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1133 );

View file

@ -209,9 +209,8 @@ function q($sql) {
if($db && $db->connected) {
$stmt = vsprintf($sql,$args);
if($stmt === false)
logger('dba: vsprintf error: ' . print_r(debug_bracktrace(),true));
$ret = $db->q($stmt);
return $ret;
logger('dba: vsprintf error: ' . print_r(debug_backtrace(),true));
return $db->q($stmt);
}
/**