From a48739508c8b9de9fb0af30b8b656c5f19378170 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 30 Jun 2014 08:57:05 +0200 Subject: Fix broken indentation in pkgbase_delete_comment() Signed-off-by: Lukas Fleischer --- web/lib/pkgbasefuncs.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php index ec483140..32c2d9b6 100644 --- a/web/lib/pkgbasefuncs.inc.php +++ b/web/lib/pkgbasefuncs.inc.php @@ -860,13 +860,13 @@ function pkgbase_delete_comment($atype) { $dbh = DB::connect(); $uid = uid_from_sid($_COOKIE["AURSID"]); if (can_delete_comment($comment_id, $atype, $uid)) { - $q = "UPDATE PackageComments "; - $q.= "SET DelUsersID = ".$uid." "; - $q.= "WHERE ID = ".intval($comment_id); + $q = "UPDATE PackageComments "; + $q.= "SET DelUsersID = ".$uid." "; + $q.= "WHERE ID = ".intval($comment_id); $dbh->exec($q); - return array(true, __("Comment has been deleted.")); + return array(true, __("Comment has been deleted.")); } else { - return array(false, __("You are not allowed to delete this comment.")); + return array(false, __("You are not allowed to delete this comment.")); } } -- cgit v1.2.3-24-g4f1b