Well, that is an interesting problem. There is no such function call at that line in the 1.2.8 version of template-functions.php. So somehow you must have got some files mixed from prior versions.
From the official download of 1.2.8, line 127 reads:
`if (isImageVideo()) { // Download, Protected View, and Unprotected access all allowed`
That is the current version of the code you are failing on.
Suggest you re-upload the release.