  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: breadcrumb.php 669 2006-07-29 13:36:24Z hpdl $ |
| |
| 3 | + | $Id: breadcrumb.php 734 2006-08-20 17:56:47Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
29 | 29 | | $trail_string = ''; |
| |
30 | 30 | | |
| |
31 | 31 | | for ($i=0, $n=sizeof($this->_trail); $i<$n; $i++) { |
  |
32 | | - | if (isset($this->_trail[$i]['link']) && tep_not_null($this->_trail[$i]['link'])) { |
| |
| 32 | + | if (isset($this->_trail[$i]['link']) && !empty($this->_trail[$i]['link'])) { |
  |
33 | 33 | | $trail_string .= osc_link_object($this->_trail[$i]['link'], $this->_trail[$i]['title']); |
| |
34 | 34 | | } else { |
| |
35 | 35 | | $trail_string .= $this->_trail[$i]['title']; |