Your Name hace 3 años
padre
commit
a4077aaf18
Se han modificado 1 ficheros con 2 adiciones y 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'];