Problem with getAlbumPlace()

`<?php echo getBareAlbumTitle(); $place = getAlbumPlace(); if (!empty($place)) { echo ' - ' , getAlbumPlace();} ?>`

This worked with 1.2.6 but after upgrade I get an error.

`Fatal error: Call to undefined function getAlbumPlace()`

Comments

  • acrylian Administrator, Developer
    That function is deprecated. You have to enable the deprecated-functions plugin or better update your theme to use getAlbumLocation().
  • Thx this was quick.
    Replaced "place" with "location" and everything is working now.
Sign In or Register to comment.