bugfix: last revision had some typos, fixed now
[e-DoKo.git] / index.php
index 1710bd7b9f581645aed453c034449d6c372308bd..8e21ae620399c846c3e3716f35a7f01e6de9cfc5 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1057,7 +1057,7 @@ else if(myisset("me"))
              else
                echo "(wedding)";
          
-         if(subst_compare($GT,"solo",0,4) && $party=="re")
+         if(substr_compare($GT,"solo",0,4)==0 && $party=="re")
             echo "($GT)";
 
          /* add point calls */
@@ -1065,8 +1065,8 @@ else if(myisset("me"))
            echo " $party $call ";
 
          echo "<br />\n";
-         echo " local time: ".date("Y-m-d H:i:s")."\n";
-         echo " last login: ".date("Y-m-d H:i:s",$unixtime)."<br />\n";
+         echo " local time: ".date("Y-m-d H:i:s")."<br />\n";
+         echo " last login: ".date("Y-m-d H:i:s",$lastlogin)."<br />\n";
          echo " </span>\n";
 
        }