commit | ea2309cd53500f28736e613b5bc3355364ad2c5c | [log] [tgz] |
---|---|---|
author | avm99963 <me@avm99963.com> | Mon Sep 28 17:20:25 2020 +0200 |
committer | avm99963 <me@avm99963.com> | Mon Sep 28 17:20:25 2020 +0200 |
tree | 4885911a1b7d0d606a94fec79f9f80b31c87d223 | |
parent | 472b0de6b5b5f5b9e59f82efd6e35a87e7c6fc68 [diff] |
Arreglat error en el mètode getClasses Change-Id: If441ff22736b8dfbcd69a9e98d04005b46d91c90
diff --git a/inc/Classes.php b/inc/Classes.php index 5059040..9c21ac8 100644 --- a/inc/Classes.php +++ b/inc/Classes.php
@@ -29,7 +29,7 @@ $classes = $query->fetchAll(\PDO::FETCH_ASSOC); foreach ($classes as &$class) { - if ($isSignedIn) + if (!$isSignedIn) $class['user_subject_id'] = null; $class['user_selected'] = $class['user_subject_id'] !== null;