X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FGNUsocialPhotos%2Factions%2Fphotos.php;h=a180be8c12098295c3724287184dc8d5c218681a;hb=627d84a1e2db2aca5d2ce1272f6e83fb7faa8ad2;hp=b1e1b73ff1198cb97b681477fab25b09e5994420;hpb=2cfcda5bcee794af0a62352797b8eb96a82fa9bf;p=quix0rs-gnu-social.git diff --git a/plugins/GNUsocialPhotos/actions/photos.php b/plugins/GNUsocialPhotos/actions/photos.php index b1e1b73ff1..a180be8c12 100644 --- a/plugins/GNUsocialPhotos/actions/photos.php +++ b/plugins/GNUsocialPhotos/actions/photos.php @@ -38,7 +38,7 @@ class PhotosAction extends Action { var $user = null; - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); @@ -53,7 +53,7 @@ class PhotosAction extends Action return true; } - function handle($args) + function handle(array $args=array()) { parent::handle($args); $this->showPage(); @@ -82,7 +82,7 @@ class PhotosAction extends Action $this->element('option', array('value' => '120'), _("Medium")); $this->element('option', array('value' => '400'), _("Normal")); $this->elementEnd('select'); - } + } function showAlbums() {