tingobol / yii-rights

Automatically exported from code.google.com/p/yii-rights
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Documentation enhancement #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The documentation on RAuthorizer::sanitizeExpression's return value is
inaccurate. It will never return false (see line 443), even if the eval
returned false.
In addition to that, in this case it will return null, which is defined by
doc as the return value for an unsafe eval code.

Original issue reported on code.google.com by rodrigo.coelho@gmail.com on 11 Jan 2011 at 9:20

GoogleCodeExporter commented 9 years ago
I'll look into this when I have time. I think I need to look into that method 
in any case.

Original comment by Christof...@gmail.com on 15 Jan 2011 at 10:48