Your Name %!s(int64=3) %!d(string=hai) anos
pai
achega
a4077aaf18
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      learn/active/src/Home.php

+ 2 - 0
learn/active/src/Home.php

@@ -131,6 +131,8 @@ Class Home extends Core
 			if ($member) {
 				if ($data['name'] != $member['name']) {
 					$where['name'] = $member['name'];
+				} else {
+					$where['name'] = $user['name'];
 				}
 			} else {
 				$where['name'] = $data['name'];