Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid strlen(null) call on undefined "idvisitor" property (#22991)
* Avoid strlen(null) call on undefined "idvisitor" property The "idvisitor" property can be undefined/null, this must be taken into account to avoid this error: > strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /.../core/Tracker/Visit.php on line 583 * Use consistent check for undefined "idvisitor" property This is more in line with other locations in this class. Co-authored-by: Michal Kleiner <[email protected]> --------- Co-authored-by: Michal Kleiner <[email protected]>
- Loading branch information