If you attempt to browse a service method that has no arguments, the call fails and a warning is generated:

warning: call_user_func_array() expects parameter 2 to be array, null given in .../services/services.module on line 445

This patch fixes it.

CommentFileSizeAuthor
services_admin_browse.inc_.patch334 bytesDaniel Norton

Comments

broncomania’s picture

Thx this works great!!!

Now i get a response in the browser if i call system.listMethods and my own developed service!

hihappycats’s picture

it's work...sorry for my comment

marcingy’s picture

Status: Needs review » Fixed

Committed thanks.

Status: Fixed » Closed (fixed)
Issue tags: -admin, -browse

Automatically closed -- issue fixed for 2 weeks with no activity.