com web/master: $user was renamed to $cuser in include/login.inc in c659097ec0d0a08327b80c1b32ac0797f35ba5dd: manage/event.php

From: Date: Wed, 11 Jun 2014 10:42:10 +0000
Subject: com web/master: $user was renamed to $cuser in include/login.inc in c659097ec0d0a08327b80c1b32ac0797f35ba5dd: manage/event.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19242@lists.php.net to get a copy of this message
Commit: d3839097c4b2bfa614ba87db07fb579102003fb0 Author: kovacs.ferenc <kovacs.ferenc@ustream.tv> Wed, 11 Jun 2014 12:42:10 +0200 Parents: efa8fa543bd8ebb808407be4f2dcc7c3204a615b Branches: master Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=d3839097c4b2bfa614ba87db07fb579102003fb0 Log: $user was renamed to $cuser in include/login.inc in c659097ec0d0a08327b80c1b32ac0797f35ba5dd Changed paths: M manage/event.php Diff: diff --git a/manage/event.php b/manage/event.php index 993ddc2..7d715d7 100644 --- a/manage/event.php +++ b/manage/event.php @@ -32,7 +32,7 @@ if($id) $id = (int)$id; if ($id && $action) { switch ($action) { case 'approve': - if (db_query("UPDATE phpcal SET approved=1,app_by='$user' WHERE id=$id") + if (db_query("UPDATE phpcal SET approved=1,app_by='$cuser' WHERE id=$id") && mysql_affected_rows()) { $event = fetch_event($id); $message = "This event has been approved. It will appear on the PHP website shortly.";

« previous php.webmaster (#19242) next »