5.3 file api backwards compatibility

Permalink
I tried to update a simple site from 5.2RC1 to 5.3.

There was a template where I had this code:
$picActive = $_c->getCollectionAttributeValue('picture_active');
$picActive->getFileRelativePath()


This doesn't work with 5.3 anymore. Use this:
$picActive = $_c->getCollectionAttributeValue('picture_active');
$picActive->getVersion()->getURL()

Remo