web/include widgets.inc,1.5,1.6
Patrick Barnes (nman64)
fedora-extras-commits at redhat.com
Tue Dec 6 21:15:01 UTC 2005
Author: nman64
Update of /cvs/fedora/web/include
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25623
Modified Files:
widgets.inc
Log Message:
Maybe a little more for the debugging.
Index: widgets.inc
===================================================================
RCS file: /cvs/fedora/web/include/widgets.inc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- widgets.inc 6 Dec 2005 20:40:03 -0000 1.5
+++ widgets.inc 6 Dec 2005 21:14:59 -0000 1.6
@@ -82,10 +82,12 @@
$output.="\t<ul$id>";
- if (!is_array($node)) {
+ if (!isset($node) || !is_array($node)) {
die(var_export(debug_backtrace(), TRUE));
}
+ unset $item;
+
foreach($node as $item) {
// Display item as selected if it is the correct or intended URI
More information about the scm-commits
mailing list