[ColdBox 5.1.1] addAsset error

It seems there’s a bug in addAsset function. I’m getting this error: The value returned from the addAsset function is not of type string

After some debugging, I found on line 115 of HTMLHelper.cfc it’s returning “$htmlhead( sb.toString() )”, which is not a string.

Is anyone else getting this?

Never mind I’ve just updated to the latest version and it’s working now.