From fff9b34cb5dbb2470a3276eac3d36265b1980f33 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sat, 7 May 2005 22:01:59 +0000 Subject: [PATCH] Bugfix. --- src/lib/Usuario.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Usuario.php b/src/lib/Usuario.php index 3daa98e..00c5255 100644 --- a/src/lib/Usuario.php +++ b/src/lib/Usuario.php @@ -139,7 +139,7 @@ class Usuario $cred = $this->esAsesor() ? '' : ' ('.$this->getCreditos().')'; $admin = $this->esAdmin() ? '* ' : ''; if (!is_null($selected)) - $selected = ($this->getId() == $user) ? ' selected="selected"' : ''; + $selected = ($this->getId() == $selected) ? ' selected="selected"' : ''; return sprintf("\n", $this->getId(), $selected, $admin, $this->getNombre(), $this->getApellido(), $cred); -- 2.43.0