Minor $config['try_smarter'] work

This commit is contained in:
Michael Foster 2013-08-29 18:55:25 +10:00
parent 7b817eea11
commit a8e3754375
3 changed files with 8 additions and 3 deletions

View file

@ -682,7 +682,7 @@ if (isset($_POST['delete'])) {
incrementSpamHash($post['antispam_hash']);
}
if (isset($post['tracked_cites']) && count($post['tracked_cites'])) {
if (isset($post['tracked_cites']) && !empty($post['tracked_cites'])) {
$insert_rows = array();
foreach ($post['tracked_cites'] as $cite) {
$insert_rows[] = '(' .