User tests: Successful: Unsuccessful:
When an error occurs we get an error page, it has a useless error code 0 most of the time.
This PR only shows the error code if its greater than 0
Generate an error
URL http://example.com/administrator/index.php?option=com_media&task=file.edit&id=0 will currently do that for you ;-)
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) |
Labels |
Added:
?
|
Category | Administration Templates (admin) | ⇒ | Administration Templates (admin) Installation Front End Templates (site) |
Error code 0 is a valid error code in most programming languages. I won't remove it just because it's 0. And more PHP lines in code just for these comparisons.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-06 23:12:44 |
Closed_By | ⇒ | PhilETaylor |
Looks good but shouldnt it be applied everywhere?