Your Name hace 3 años
padre
commit
1a9349088b
Se han modificado 1 ficheros con 1 adiciones y 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); 
 			}
 		}