Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix message id column name (#347)
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
  • Loading branch information
xh3n1 authored and michield committed Jun 6, 2018
1 parent 30305cf commit 6f64faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/lists/admin/lib.php
Expand Up @@ -1661,7 +1661,7 @@ function resetMessageStatistics($messageid = 0)
$messageid));
Sql_Query(sprintf('delete from %s where messageid = %d', $GLOBALS['tables']['usermessage'], $messageid));
Sql_Query(sprintf('delete from %s where messageid = %d', $GLOBALS['tables']['user_message_view'], $messageid));
Sql_Query(sprintf('update %s set viewed = 0 where messageid = %d', $GLOBALS['tables']['message'], $messageid));
Sql_Query(sprintf('update %s set viewed = 0 where id = %d', $GLOBALS['tables']['message'], $messageid));
}
}

Expand Down

0 comments on commit 6f64faf

Please sign in to comment.