New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moon delete after debris update own moon planet fixed, Everyone can read the ticket fixed. #13

Open
wants to merge 2 commits into
base: master
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+3 −2
Diff settings

Always

Just for now

Prev

Everyone can read the ticket fixed.

  • Loading branch information...
byazrail committed Feb 7, 2019
commit b30dfcec7d20de39c37b1a50ced87bc4a3523110
@@ -125,9 +125,10 @@ function view()
$ticketID = HTTP::_GP('id', 0);
$sql = "SELECT a.*, t.categoryID, t.status FROM %%TICKETS_ANSWER%% a INNER JOIN %%TICKETS%% t USING(ticketID) WHERE a.ticketID = :ticketID ORDER BY a.answerID;";
$sql = "SELECT a.*, t.categoryID, t.status FROM %%TICKETS_ANSWER%% a INNER JOIN %%TICKETS%% t USING(ticketID) WHERE a.ticketID = :ticketID AND t.ownerID = :userID ORDER BY a.answerID;";
$answerResult = $db->select($sql, array(
':ticketID' => $ticketID
':ticketID' => $ticketID,
':userID' => $USER['id']
));
$answerList = array();
ProTip! Use n and p to navigate between commits in a pull request.