User tests: Successful: Unsuccessful:
There is a call to method Registry::get() with 3 parameters, while it only accepts 2 parameters
(see libraries/vendor/joomla/registry/src/Registry.php)
public function get($path, $default = null)
The code has been clearly copied / pasted from a call to JInput::get(), which actually accepts a third parameter indicating the filter type, and 'int' is a valid value.
If we want to be sure to get an int, the correct way is use a cast as we already did 3 lines below.
Status | New | ⇒ | Pending |
Category | ⇒ | Plugins Front End |
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-28 10:19:19 |
Closed_By | ⇒ | wilsonge |
Merged on review