Module: appdb Branch: master Commit: 9d0754392b73532dc8d5028b2d2ce4968fd8f49d URL: http://source.winehq.org/git/appdb.git/?a=commit;h=9d0754392b73532dc8d5028b2...
Author: Rosanne DiMesio dimesio@earthlink.net Date: Fri Jun 16 13:42:20 2017 -0500
Allow users to see their queued screenshots
Fixes bug 28032.
Signed-off-by: Rosanne DiMesio dimesio@earthlink.net Signed-off-by: Jeremy Newman jnewman@codeweavers.com
---
include/user.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/user.php b/include/user.php index 80cd9f4..2d62ea5 100644 --- a/include/user.php +++ b/include/user.php @@ -620,7 +620,8 @@ class User { if(!$oScreenshot->bQueued || ($oScreenshot->bQueued && ($this->hasPriv("admin") || $this->isMaintainer($oScreenshot->iVersionId) || - $this->isSuperMaintainer($oScreenshot->iAppId)))) + $this->isSuperMaintainer($oScreenshot->iAppId) || + $this->iUserId == $oScreenshot->iSubmitterId))) return true;
return false;