Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.8
-
Fix Version/s: 4.6.9
-
Component/s: None
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
I'm hitting e-notices on $timezone = $user->timezone on one config.
I'm guessing strlen doesn't return null if not-set. I guess that could be php version specific.
Adding an isset check seems sensible & safe and this is a good time to add some comments to explain the strlen too.