Password working
diff --git a/ajax/getusers.php b/ajax/getusers.php
index cb8520d..4973cf7 100644
--- a/ajax/getusers.php
+++ b/ajax/getusers.php
@@ -1,5 +1,11 @@
+<option>Selecciona usuari...</option>
+
<?php
require '../php/utils.php';
+
$users = get_users(0);
- foreach ($users as $user) echo "<option value='".$user->id."'>".$user->nomcomplet."</option>\n";
+ foreach ($users as $user) {
+ $nopassword = $user->md5password == "" ? "nopassword" : "";
+ echo "<option class='".$nopassword."' value='".$user->id."'>".$user->nomcomplet."</option>\n";
+ }
?>