// Special case to handle lists, as getStringValue cannot be overridden
if(object->getType() & PUCLASS_LIST)
{
- node->setStringValue(((puList *) object)->getListStringValue());
+ const char *s = ((puList *) object)->getListStringValue();
+ if (s)
+ node->setStringValue(s);
}
else
{