Avoid undefined offset if duration is not available from the API...
Avoid undefined offset if duration is not available from the API...

pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS