User tests: Successful: Unsuccessful:
Use is_object()
instead of gettype()
comparison to simplify the logic.
Apply patch.
See usual code.
See nice code.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Administration Libraries |
Status | New | ⇒ | Pending |
Title |
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-12 14:52:51 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
PR-5.0-dev
|
merged by code review, is_object seems to be much faster then gettype
thanks