WordPress.org

Forums

Organizational Message Notifier
PHP Notices (1 post)

  1. Rouven Hurling
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Organizational Message Notifier
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.