Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Typo in - line 1578 function fails  (Read 3735 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Typo in - line 1578 function fails
« on: July 30, 2005, 01:46:06 am »

in function breadcrumb in the file (line 1508 in my copy), there is a test for a template function on line 1576:

Code: [Select]
     // we check if the theme_breadcrumb exists...
        if (function_exists('theme_breadcrumb'))
            theme_breadcrumb($breadcrumb_list, $BREADCRUMB_TEXTS, $breadcrumb, $BREADCRUMB_TEXT);

This function neither creates nor has access to a variable called $breadcrumb_list.  I changed this variable to $breadcrumb_links which IS a part of this function.

Code: [Select]
           theme_breadcrumb($breadcrumb_links, $BREADCRUMB_TEXTS, $breadcrumb, $BREADCRUMB_TEXT);
It works great, and I was able to modify the breadcrumb as I needed to from the theme.php file.  You can see the modified breadcrumb in this modified version of the waterdrop theme:

« Last Edit: July 30, 2005, 05:23:16 am by donnoman »


  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From
    • Donovan Bray
Re: Typo in - line 1578 function fails
« Reply #1 on: July 30, 2005, 05:22:16 am »

Thanks for locating that and providing the fix.

I've double checked and he's absolutely correct.

I've commited the fix as suggested.
new revision: 1.190
Pages: [1]   Go Up

Page created in 0.016 seconds with 19 queries.