forked from leftypol/leftypol
Minor $config['try_smarter'] work
This commit is contained in:
parent
7b817eea11
commit
a8e3754375
3 changed files with 8 additions and 3 deletions
2
post.php
2
post.php
|
@ -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[] = '(' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue