I just downloaded the latest version (9-feb) and saw in the diff that you use @ instead of isset().

-  while ($parent->nid) {
+  while (@$parent->nid) {

is this better than:
while (isset($parent->nid) && $parent->nid)

Comments

ronan’s picture

It's not better, but it's quicker to type and easier to look at. It's also more or less equivalent since it should merely suppress the warning and return NULL for non-existent members.

andreiashu’s picture

Status: Active » Closed (fixed)

thanks for the info ronan.