From: Leandro Lucarella Date: Sat, 7 May 2005 22:01:59 +0000 (+0000) Subject: Bugfix. X-Git-Tag: svn_import~42 X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/commitdiff_plain/fff9b34cb5dbb2470a3276eac3d36265b1980f33?ds=sidebyside Bugfix. --- 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);