From ec7f06ec54f03d989e67bce419c0787180d7b55d Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 19 Jun 2012 16:38:03 -0700 Subject: [PATCH] missing brackets --- mod/submit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/submit.php b/mod/submit.php index d1ceb46f..9d17c6d6 100755 --- a/mod/submit.php +++ b/mod/submit.php @@ -112,14 +112,14 @@ function submit_content(&$a) { if(count($r)) $profile_id = $r[count($r) - 1]['id']; - if(count($r) > 1) + if(count($r) > 1) { q("DELETE FROM `photo` WHERE `profile-id` = %d LIMIT 1", intval($r[0]['id']) ); q("DELETE FROM `profile` WHERE `id` = %d LIMIT 1", intval($r[0]['id']) ); - + } }