BUGFIX: adding new users was broken
[e-DoKo.git] / output.php
index 77ef0f6eac8bcc1fe06cdaf29d788619ed2c4be4..b257345a44bc12fc1632c4c4c6434565a85ce734 100644 (file)
@@ -306,6 +306,7 @@ function output_header()
   <head>
      <title>e-Doko</title>
      <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
+     <link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
      <link rel="stylesheet" type="text/css" href="css/standard.css" />
      <script type="text/javascript">
        function hl(num) {
@@ -381,7 +382,7 @@ function output_status()
        echo "</div>\n";
 
        /* last logon time */
-       $myid  = DB_get_userid_by_name($name);
+       $myid  = DB_get_userid("name",$name);
        $zone  = DB_get_user_timezone($myid);
 
        $time     = DB_get_user_timestamp($myid);