[Plugin: NextGEN Gallery] XMLRPC method ngg.editAlbum and nggdb::update_album parameters mismatch
-
Alex,
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.
- The topic ‘[Plugin: NextGEN Gallery] XMLRPC method ngg.editAlbum and nggdb::update_album parameters mismatch’ is closed to new replies.