zenpage single news

fretzl Administrator, Developer
Hi @crylian, it's me again...

When playing around with "news" in the "singlenews-bit" (the part where you get to see the titlelinks to next and previous articles)
I somewhere get this error:
`
Notice: Undefined index: link in ...\zenphoto\zp-core\plugins\zenpage\
zenpage-template-functions.php on line 1608
`
The only possible related thing I could find was this line in news.php
`<?php if(getPrevNewsURL() OR getPrevNewsURL()) { ?>
<?php } ?>`
I think one of those conditions should be `getNextNewsURL()` although changing it
didn't make any difference.

Any ideas ?

P.S. do you ever sleep ?? :)

Comments

  • acrylian Administrator, Developer
    Right there is a typo, one should be getNextNewsURL(). That has been corrected in the svn. Please take a look at that if the error maybe is gone there, too. We fixed quite a few of these undefined notices.

    PS: Sleeping? What is that?...:-)
  • fretzl Administrator, Developer
    Thanks @crylian !

    The snv did indeed fix the issue.

    Cheers
Sign In or Register to comment.