PHP notices: Undifined variable (line 556)
oriol_e9g - September 22, 2008 - 10:47
| Project: | SimpleBlogroll |
| Version: | 6.x-1.3 |
| Component: | Code/Feeds |
| Category: | bug report |
| Priority: | minor |
| Assigned: | filip_tc |
| Status: | closed |
Jump to:
Description
If I enable the PHP notices appear this warning.
notice: Undefined variable: return in .../sites/all/modules/simpleblogroll/simpleblogroll.module on line 556.

#1
Problem should only happen when no feeds are entered. To fix do the following,
Find: (lines 555-557)
}return $return;
}
Replace with:
}if ($return) {
return $return;
}
return;
}
Thanks for the bug find. Cheers.
Committed to 6.x-1-dev.
#2
Automatically closed -- issue fixed for two weeks with no activity.