bool
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 2 Sep 2006 00:27:45 +0000 (00:27 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 2 Sep 2006 00:27:45 +0000 (00:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5853 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/main/gen_offline_widgets.xul

index 3807886..5192bcc 100644 (file)
                                                return [ 
                                                        obj.name() ? sname + ' ' + obj.name() : obj.shortname(),
                                                        obj.id(), 
-                                                       ( g.data.hash.aout[ obj.ou_type() ].can_have_users() == 0),
+                                                       ( get_bool( g.data.hash.aout[ obj.ou_type() ].can_have_users() ) ),
                                                        ( g.data.hash.aout[ obj.ou_type() ].depth() * 2),
                                                ]; 
                                        }