• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redux Auth - is it dead?

#21
[eluser]klompie[/eluser]
i downloaded the most recent version from http://github.com/benedmunds/CodeIgniter-Ion-Auth

return (bool) $user_group == $admin_group;

isn't this casting the $user_group as bool? and not the complete $user_group == $admin_group?

When using:
return (bool)($user_group == $admin_group);
or
return (bool) $user_group == $admin_group;
it works like it should do.

But when using:
return (bool) $user_group == $admin_group;
every group is returning true


Messages In This Thread
Redux Auth - is it dead? - by El Forum - 01-27-2010, 04:20 AM
Redux Auth - is it dead? - by El Forum - 01-27-2010, 05:21 AM
Redux Auth - is it dead? - by El Forum - 01-27-2010, 08:45 AM
Redux Auth - is it dead? - by El Forum - 01-27-2010, 08:59 AM
Redux Auth - is it dead? - by El Forum - 01-29-2010, 10:19 AM
Redux Auth - is it dead? - by El Forum - 01-29-2010, 10:21 AM
Redux Auth - is it dead? - by El Forum - 01-29-2010, 10:26 AM
Redux Auth - is it dead? - by El Forum - 01-29-2010, 10:27 AM
Redux Auth - is it dead? - by El Forum - 01-29-2010, 10:37 AM
Redux Auth - is it dead? - by El Forum - 01-30-2010, 07:23 AM
Redux Auth - is it dead? - by El Forum - 01-31-2010, 05:40 PM
Redux Auth - is it dead? - by El Forum - 02-01-2010, 08:34 AM
Redux Auth - is it dead? - by El Forum - 02-02-2010, 02:09 AM
Redux Auth - is it dead? - by El Forum - 02-02-2010, 01:20 PM
Redux Auth - is it dead? - by El Forum - 02-03-2010, 05:14 AM
Redux Auth - is it dead? - by El Forum - 02-03-2010, 05:37 AM
Redux Auth - is it dead? - by El Forum - 02-03-2010, 12:23 PM
Redux Auth - is it dead? - by El Forum - 02-03-2010, 04:18 PM
Redux Auth - is it dead? - by El Forum - 02-03-2010, 04:24 PM
Redux Auth - is it dead? - by El Forum - 02-04-2010, 03:59 AM
Redux Auth - is it dead? - by El Forum - 02-04-2010, 11:10 AM
Redux Auth - is it dead? - by El Forum - 02-05-2010, 04:12 AM
Redux Auth - is it dead? - by El Forum - 02-05-2010, 09:16 PM
Redux Auth - is it dead? - by El Forum - 02-06-2010, 05:13 AM
Redux Auth - is it dead? - by El Forum - 02-07-2010, 10:19 AM
Redux Auth - is it dead? - by El Forum - 02-07-2010, 07:55 PM
Redux Auth - is it dead? - by El Forum - 02-08-2010, 03:40 AM
Redux Auth - is it dead? - by El Forum - 02-08-2010, 02:31 PM
Redux Auth - is it dead? - by El Forum - 02-08-2010, 02:38 PM
Redux Auth - is it dead? - by El Forum - 02-08-2010, 10:48 PM
Redux Auth - is it dead? - by El Forum - 02-08-2010, 11:54 PM
Redux Auth - is it dead? - by El Forum - 02-09-2010, 12:36 AM
Redux Auth - is it dead? - by El Forum - 02-09-2010, 08:04 AM
Redux Auth - is it dead? - by El Forum - 02-12-2010, 04:04 PM
Redux Auth - is it dead? - by El Forum - 02-12-2010, 04:29 PM
Redux Auth - is it dead? - by El Forum - 02-12-2010, 05:18 PM
Redux Auth - is it dead? - by El Forum - 02-13-2010, 05:21 AM
Redux Auth - is it dead? - by El Forum - 02-17-2010, 04:48 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.