Plugin Directory

Changeset 1699521


Ignore:
Timestamp:
07/20/2017 10:07:49 AM (8 years ago)
Author:
ekamiya
Message:

Initial Release β(minor fix to meet old PHP syntax).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simple-schedule-notice/trunk/simple-schedule-notice.php

    r1699248 r1699521  
    625625
    626626  private function gen_article_hdr( $id=null ) {
    627     echo '<article' . ( empty( id ) ? '' : ' id="' . $id . '"') . '><h1>' . $this->module_title . '</h1>';
     627    $idstr = empty( id ) ? '' : ' id="' . $id . '"';
     628    echo '<article' . $idstr . '><h1>' . $this->module_title . '</h1>';
    628629    // gen_articleftr must be called to close <article>
    629630  }
Note: See TracChangeset for help on using the changeset viewer.