com web/master: Fix wrong global variable used due to bjori's commit from c659097ec0d0a08327b80c1b32ac0797f35ba5dd: manage/pinfo.php

From: Date: Fri, 20 Dec 2013 10:08:38 +0000
Subject: com web/master: Fix wrong global variable used due to bjori's commit from c659097ec0d0a08327b80c1b32ac0797f35ba5dd: manage/pinfo.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17747@lists.php.net to get a copy of this message
Commit: 605a7f2e8d4fe6ad6fe178fe77cf81c0ef79e465 Author: Sherif Ramadan <googleguy@php.net> Fri, 20 Dec 2013 05:08:38 -0500 Parents: 3798019687a4b426ccb02f07997849ae7a6f2ebd Branches: master Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=605a7f2e8d4fe6ad6fe178fe77cf81c0ef79e465 Log: Fix wrong global variable used due to bjori's commit from c659097ec0d0a08327b80c1b32ac0797f35ba5dd Admin users can't be identified otherwise. Changed paths: M manage/pinfo.php Diff: diff --git a/manage/pinfo.php b/manage/pinfo.php index 6a588c1..7c049b3 100644 --- a/manage/pinfo.php +++ b/manage/pinfo.php @@ -1,7 +1,7 @@ <?php require '../include/login.inc'; -if (!is_mirror_site_admin($user)) { +if (!is_mirror_site_admin($cuser)) { warn("Sorry, you are not allowed to view this web page"); exit; }

« previous php.webmaster (#17747) next »