Bug 22483: Restore exact behaviour of undef
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sat, 9 Mar 2019 08:13:03 +0000 (08:13 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sat, 9 Mar 2019 08:16:40 +0000 (05:16 -0300)
commit4cffd7e267a2236140732aaed5ef9fb3983b6379
treef0583f9850d7fdd9716197d3638c9c0781660e6b
parent088e0243bf7cd16f7769ddbc2eeefd5857c471f7
Bug 22483: Restore exact behaviour of undef

Passing undef (or nothing) as $flagsrequired to haspermission simply
returned the return from fetchrow prior to this patch. Restoring that
behaviour.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Auth.pm