This commit has been accessed 330 times via Git panel.
commit 8be46ac3359e96e83e21d8e5f03e3d4924da4ff0
tree a3aa72dd83125bd3a3d481855f11a103b068b80d
parent 9ff5127098f9f91eaee4811d1879a8184ff3cd78
author Engels Antonio <engels@majcms.org> 1285607729 +0800
committer Engels Antonio <engels@majcms.org> 1285607729 +0800
Fix disappearing last names in comments
diff --git a/index.php b/index.php
index b349988..c394c97 100644
--- a/index.php
+++ b/index.php
@@ -560,7 +560,7 @@ if (isset($maj_req_entry) and !empty($maj_req_entry)) {
$maj_lastname = trim($maj_lastname);
if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != file_get_contents("data/username.txt"))) {
- $maj_lastname = strtolower();
+ $maj_lastname = strtolower($maj_lastname);
}
$maj_lastname = ucwords($maj_lastname);
diff --git a/rel.txt b/rel.txt
index d2706a5..117651e 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-201009040433
+201009280054
tree a3aa72dd83125bd3a3d481855f11a103b068b80d
parent 9ff5127098f9f91eaee4811d1879a8184ff3cd78
author Engels Antonio <engels@majcms.org> 1285607729 +0800
committer Engels Antonio <engels@majcms.org> 1285607729 +0800
Fix disappearing last names in comments
diff --git a/index.php b/index.php
index b349988..c394c97 100644
--- a/index.php
+++ b/index.php
@@ -560,7 +560,7 @@ if (isset($maj_req_entry) and !empty($maj_req_entry)) {
$maj_lastname = trim($maj_lastname);
if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != file_get_contents("data/username.txt"))) {
- $maj_lastname = strtolower();
+ $maj_lastname = strtolower($maj_lastname);
}
$maj_lastname = ucwords($maj_lastname);
diff --git a/rel.txt b/rel.txt
index d2706a5..117651e 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-201009040433
+201009280054