mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 18:26:06 +02:00
Default getUpdatable to both plugins and themes
Was modified in https://github.com/getgrav/grav/pull/921 and caused an error in Admin as the signature changed, restore original functionality by default
This commit is contained in:
@@ -174,7 +174,7 @@ class GPM extends Iterator
|
||||
* @return array Array of updatable Plugins and Themes.
|
||||
* Format: ['total' => int, 'plugins' => array, 'themes' => array]
|
||||
*/
|
||||
public function getUpdatable($list_type_update)
|
||||
public function getUpdatable($list_type_update = ['plugins' => true, 'themes' => true])
|
||||
{
|
||||
|
||||
$items = ['total' => 0];
|
||||
|
||||
Reference in New Issue
Block a user