Commits

allison committed 3d3c7aa

Return an empty string if 'src' attribute doesn't have a value.

Comments (0)

Files changed (1)

     if got_value goto setvalue
     $P0 = getattribute self, 'attrs'
     $P1 = $P0['src']
+    if null $P1 goto empty_string
     .return ($P1)
   setvalue:
     $P0 = getattribute self, 'attrs'
     $P0['src'] = value
     .return (value)
+  empty_string:
+    .return ('')
 .end
 
 .sub "__dump" :method