cvs: pearweb /public_html account-edit.php

From: Date: Thu, 12 Mar 2009 16:40:25 +0000
Subject: cvs: pearweb /public_html account-edit.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-8261@lists.php.net to get a copy of this message
dufuz Thu Mar 12 16:40:25 2009 UTC Modified files: /pearweb/public_html account-edit.php Log: Bug #15921: "Manage your password" should appear only if there's really a form [patch by amir] http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-edit.php?r1=1.67&r2=1.68&diff_format=u Index: pearweb/public_html/account-edit.php diff -u pearweb/public_html/account-edit.php:1.67 pearweb/public_html/account-edit.php:1.68 --- pearweb/public_html/account-edit.php:1.67 Sat May 31 20:44:59 2008 +++ pearweb/public_html/account-edit.php Thu Mar 12 16:40:25 2009 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-edit.php,v 1.67 2008/05/31 20:44:59 dufuz Exp $ + $Id: account-edit.php,v 1.68 2009/03/12 16:40:25 dufuz Exp $ */ include_once 'HTML/QuickForm.php'; @@ -43,7 +43,6 @@ echo '<a href="/user/'. htmlspecialchars($handle) . '">' . htmlspecialchars($handle) . '</a></h1>' . "\n"; -echo "<ul><li><a href=\"#password\">Manage your password</a></li></ul>"; $admin = $auth_user->isAdmin(); $user = $auth_user->is($handle); @@ -54,6 +53,8 @@ exit(); } +echo "<ul><li><a href=\"#password\">Manage your password</a></li></ul>"; + if (isset($_POST['command']) && strlen($_POST['command'] < 32)) { $command = htmlspecialchars($_POST['command']); } else {

« previous php.pear.core (#8261) next »