You should review the function definition/documentation for that function. It returns an album object, not a string. Try `$album = getUrAlbum($_zp_current_album); echo $album->name;`
Generally, it is a good idea to read the documentation on functions you intend to use. Don't expect the developers to remember details while reading posts.