I am implementing support for the NextGEN Gallery in my Lightroom plug-in (http://alloyphoto.com/plugins/nextgen/), and I have noticed an issue with invoking the nggdb::update_album() method from nggXMLRPC::editAlbum:
This is how the method is being invoked:
$result = nggdb::update_album($id, $name, $preview, $description, $description, $galleries);
and this is the function declaration:
function update_album($id, $name = false, $previewpic = false, $description = false, $sortorder = false, $pageid = false )
Notice the last two parameters - instead of $sortorder and $pageid you are passing the $description (a second time) and $galleries, which causes the SQL update query to fail.
Could you comment on that? Thanks a lot.