Projects ⇒ Bugs ⇒ #1106: Parameter missing in user level call in Batch Add ⇒ CPG Dragonfly™ CMS
Bug #1106 Parameter missing in user level call in Batch Add
Project: Dragonfly 9.0.3 -> 9.3 Category: Coppermine
Submitted: Wednesday, November 11, 2009 (10:12:11) Modified: Tuesday, December 29, 2009 (14:21:01)
Status: Closed Assigned to: NanoCaiordo
PHP Version: Irrelevant HTTPD Server: Apache 2.2

View/Vote Add Comment

by: layingback
Description:
------------
Error is in function albumselect in modules/coppermine/searchnew.php. get_albumlist is called without a parameter.

Function get_albumlist is declared in includes/coppermine/functions.inc as:

function get_albumlist($user_id=0)


Reproduce code:
---------------
From html/modules/coppermine/searchnew.php version 9.11 in CVS, line 45

$rowset = get_albumlist();


Expected result:
----------------
Change line to:

$rowset = get_albumlist(USER_ID);
by: NanoCaiordo
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make Dragonfly 9.0.3 -> 9.2 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español