X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/2575cdb41d7bcb96e2902876e959680a5c676a4a..651ed8fa13a9705676dbfd800639f61dbcbac273:/src/lib/Usuario.php 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);