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

+ 1 - 1
learn/active/src/Home.php

@@ -139,7 +139,7 @@ Class Home extends Core
 			if (!$user['idcard'] && $data['idcard']) {
 				$where['idcard'] = $data['idcard'];
 			}
-			if ($where) {
+			if ($where['name'] || $where['idcard']) {
 				Dever::db('active/user')->update($where); 
 			}
 		}