Typo in functions.inc.php - line 1578 function fails Typo in functions.inc.php - line 1578 function fails
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Typo in functions.inc.php - line 1578 function fails

Started by gram, July 30, 2005, 01:46:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gram

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

     // we check if the theme_breadcrumb exists...
       if (function_exists('theme_breadcrumb'))
       {
           theme_breadcrumb($breadcrumb_list, $BREADCRUMB_TEXTS, $breadcrumb, $BREADCRUMB_TEXT);
           return;
       }


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.

           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:

http://roadstarclinic.com/galleries/index.php?cat=1

GRAM

donnoman

Thanks for locating that and providing the fix.

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

I've commited the fix as suggested.

functions.inc.php
new revision: 1.190