cvs: pearweb /public_html edit-author.php
| From: | Martin Jansen | Date: | Sun, 07 Oct 2001 11:45:05 +0000 |
| Subject: | cvs: pearweb /public_html edit-author.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-945@lists.php.net to get a copy of this message | ||
mj Sun Oct 7 07:45:05 2001 EDT
Modified files:
/pearweb/public_html edit-author.php
Log:
* added value for userinfo to query string
Index: pearweb/public_html/edit-author.php
diff -u pearweb/public_html/edit-author.php:1.1 pearweb/public_html/edit-author.php:1.2
--- pearweb/public_html/edit-author.php:1.1 Sun Oct 7 07:32:05 2001
+++ pearweb/public_html/edit-author.php Sun Oct 7 07:45:05 2001
@@ -23,10 +23,11 @@
case "update" : {
- $query = sprintf("UPDATE users SET name = '%s', email = '%s',
homepage = '%s', showemail = '%s', admin = '%s'",
+ $query = sprintf("UPDATE users SET name = '%s', email = '%s',
homepage = '%s', userinfo = '%s', showemail = '%s', admin =
'%s'",
$HTTP_POST_VARS['name'],
$HTTP_POST_VARS['email'],
$HTTP_POST_VARS['homepage'],
+ $HTTP_POST_VARS['userinfo'],
isset($HTTP_POST_VARS['showemail']) ? 1 : 0,
isset($HTTP_POST_VARS['admin']) ? 1 : 0);