admin
Karma: 57
|
Re:Undefined variable: fname in - 2006/03/02 15:29
This is only a notice, and is a very minor error. It does not affect the functioning of Remository. However, I do like to fix all the warnings and notices, so thanks for pointing it out.
If you would like to get rid of it, change the code in /components/com_remository/remository.class.php from just before line 450 so that it reads:
| Code: |
function downloadLink ($autodown, &$repository) {
$downURL = $this->downloadURL ($autodown, $repository);
if ($autodown) $function = 'download';
else $function = 'startdown';
$fname = null;
if ($this->islocal) {
$addon = ' rel="nofollow">';
if ($autodown) $fname = $this->realname;
}
|
Martin Brampton aka Counterpoint http://black-sheep-research.com http://mamboguru.com |