diff --git a/action/reply.php b/action/reply.php index d5238ab..a1e544d 100644 --- a/action/reply.php +++ b/action/reply.php @@ -1,6 +1,7 @@ query("SELECT * FROM users WHERE id = " . $h_question["by"] . ";")->fetchArray(SQLITE3_ASSOC); $q_key = md5($h_question["question"]); - if($p_user["id"] == $h_question["user"] and ($h_question["private"] != 1 or $q_md5 != $_GET["key"])){ // Only show question that are for this user + if($p_user["id"] == $h_question["user"] and ($h_question["private"] != 1 or $q_md5 != $_GET["key"] or $is_current_user)){ // Only show question that are for this user echo('
');