WordPress.org

Ready to get started?Download WordPress

Forums

Organizational Message Notifier
PHP Notices (1 post)

  1. Rouven Hurling
    Member
    Posted 8 months ago #

    Hi,

    I just wanted to say that you have some PHP Notices and fix them for you:
    file: includes/message-table.php
    line: 49
    from:
    $order = ( $_REQUEST["order"] == "asc" ) ? "ASC" : "DESC";
    to:
    $order = ( isset($_REQUEST["order"]) && $_REQUEST["order"] == "asc" ) ? "ASC" : "DESC";

    file: includes/settings-ui.php
    line: 229
    from:
    <input type="checkbox" name="settings[mail_notification][enabled]" <?php checked( $settings->mail_notification["enabled"] ); ?> />
    to:
    <input type="checkbox" name="settings[mail_notification][enabled]" <?php checked( isset($settings->mail_notification["enabled"]) ? $settings->mail_notification["enabled"] : false ); ?> />

    PS: you should set WP_DEBUG to TRUE when developing plugins

    http://wordpress.org/plugins/organizational-message-notifier/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by Rouven Hurling
  • This topic is not resolved
  • WordPress version: 3.7.1

Tags

No tags yet.