Menu

#12 Strict standards error

2.1.2
open
nobody
None
5
2013-10-13
2013-10-13
No

I recently changed my error level and started getting a strict standards error about MySmarty::display(). It's a very simple change.

Strict Standards: Declaration of MySmarty::display() should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id = NULL, $parent = NULL) in ../phpgiftreg/includes/MySmarty.class.php on line 7

1 Attachments

Related

Patches: #12

Discussion

  • Brian Engert

    Brian Engert - 2013-10-13

    I should have wanted to post. There's also accessing $_SESSION['admin'] in the same function but it might not be defined. I've attached a new diff that prevents the warnings for that as well.

     
  • Ryan Walberg

    Ryan Walberg - 2013-10-13

    Cool, thanks!

    On Oct 13, 2013, at 9:44 AM, Brian Engert lart2150@users.sf.net wrote:

    I should have wanted to post. There's also accessing $_SESSION['admin'] in
    the same function but it might not be defined. I've attached a new diff
    that prevents the warnings for that as well.

    Attachment: strict.diff (788 Bytes; application/octet-stream)

    Status: open
    Created: Sun Oct 13, 2013 02:41 PM UTC by Brian Engert
    Last Updated: Sun Oct 13, 2013 02:41 PM UTC
    Owner: nobody

    I recently changed my error level and started getting a strict standards
    error about MySmarty::display(). It's a very simple change.

    Strict Standards: Declaration of MySmarty::display() should be compatible
    with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id =
    NULL, $compile_id = NULL, $parent = NULL) in
    ../phpgiftreg/includes/MySmarty.class.php on line 7


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/phpgiftreg/patches/12/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Patches: #12


Log in to post a comment.

MongoDB Logo MongoDB