Switch for remove message empty text?

I may have overlooked it but where is the switch, tick box or setting to remove the empty message text?

e.g. in template_functions we have

`
function printAlbumDesc($editable=false, $editclass='', $messageIfEmpty = true ) {
if ( $messageIfEmpty === true ) {
$messageIfEmpty = gettext('(No description...)');
`
How do I set $messageIfempty to false? (other than add text of course)

Basically if there is no text then don;t show anything.

Thanks

GW

Comments

  • acrylian Administrator, Developer
    Just change your theme to use `printAlbumDesc(false, '', false)`. Alternatively you could also use `echo getAlbumDesc()`.
  • I knew it was easy... just one of those silly things I overlooked - cheers again for all your assistance and support.

    Donation on its way now for you guys to have a beer or two :)

    Cheers

    GW
Sign In or Register to comment.