deprecated function "getNumSubalbums" in album.php

9 views
Skip to first unread message

adam

unread,
Nov 29, 2010, 4:56:20 AM11/29/10
to zenphoto iphone
Hi,
Glad to see an update to this theme - I've just reinstalled/upgraded
zenPhoto to the latest 1.3 and was working on the re-install of this
theme for iPhone support.

First, thanks for including my login hack - I was happy to see it
there as part of the latest theme release.

Second, I ran into a small problem with getNumSubalbums in album.php.
It seems this is a deprecated function and is no longer available in
the 1.3 release (unless perhaps you have the "deprecated-functions"
plugin enabled), and throws an error.

I tested replacing getNumSubalbums with getNumAlbums (around line 112
in album.php). It seems this does the trick nicely. I did not spot
any other instance of getNumSubalbums in any other iPhone theme file,
and tested the basics. Please let me know if spot problems with this
replacement that weren't evident in my testing...

Thanks,
Adam
Reply all
Reply to author
Forward
0 new messages