Wrong parameter for delete command

This commit is contained in:
Michael 2017-05-07 08:12:36 +00:00
parent 8dd8936dd0
commit 7a3bdbfc15
4 changed files with 5 additions and 3 deletions

View File

@ -38,7 +38,7 @@ define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_CODENAME', 'Asparagus'); define ( 'FRIENDICA_CODENAME', 'Asparagus');
define ( 'FRIENDICA_VERSION', '3.5.2-dev' ); define ( 'FRIENDICA_VERSION', '3.5.2-dev' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1223 ); define ( 'DB_UPDATE_VERSION', 1224 );
/** /**
* @brief Constant with a HTML line break. * @brief Constant with a HTML line break.

View File

@ -914,7 +914,7 @@ class dba {
logger(dba::replace_parameters($sql, $field_values), LOGGER_DATA); logger(dba::replace_parameters($sql, $field_values), LOGGER_DATA);
if (!self::e($sql, $param)) { if (!self::e($sql, $field_values)) {
self::p("ROLLBACK"); self::p("ROLLBACK");
return false; return false;
} }

View File

@ -1218,6 +1218,7 @@ function db_definition() {
"convid" => array("convid"), "convid" => array("convid"),
"uri" => array("uri(64)"), "uri" => array("uri(64)"),
"parent-uri" => array("parent-uri(64)"), "parent-uri" => array("parent-uri(64)"),
"contactid" => array("contact-id"),
) )
); );
$database["mailacct"] = array( $database["mailacct"] = array(
@ -1355,6 +1356,7 @@ function db_definition() {
), ),
"indexes" => array( "indexes" => array(
"PRIMARY" => array("id"), "PRIMARY" => array("id"),
"contactid" => array("contact-id"),
"uid_contactid" => array("uid", "contact-id"), "uid_contactid" => array("uid", "contact-id"),
"uid_profile" => array("uid", "profile"), "uid_profile" => array("uid", "profile"),
"uid_album_scale_created" => array("uid", "album(32)", "scale", "created"), "uid_album_scale_created" => array("uid", "album(32)", "scale", "created"),

View File

@ -1,6 +1,6 @@
<?php <?php
define('UPDATE_VERSION' , 1223); define('UPDATE_VERSION' , 1224);
/** /**
* *