summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 0f1c40fe7..9ca1db161 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -59,6 +59,8 @@ function user_load($array = array()) {
** Dynamically compose a SQL query:
*/
+ $query = "";
+
foreach ($array as $key => $value) {
if ($key == "pass") {
$query .= "u.$key = '" . md5($value) . "' AND ";
@@ -456,7 +458,7 @@ function user_block() {
// Display account settings:
$block[0]["subject"] = $user->name;
- $output .= "<div style=\"width: 125;\">\n";
+ $output .= "<div style=\"{ width: 155; }\">\n";
$links = array_merge(module_invoke_all("link", "menu.create"), array(""), module_invoke_all("link", "menu.view"), array(""), module_invoke_all("link", "menu.settings"), array(""), module_invoke_all("link", "menu.misc"));
$output .= @implode("<br />\n", $links);