Changeset 1374


Ignore:
Timestamp:
Jan 12, 2012, 5:23:17 PM (6 years ago)
Author:
dkg
Message:

avoid warning about uninitialized member

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jpdd/class.jpdd.workshop.php

    r1373 r1374  
    114114        function applyPostForm() {
    115115          $this->_title = $_POST['title'];
    116           $this->_short_title = $_POST['short_title'];
     116          $this->_short_title = (array_key_exists('short_title', $_POST) ? $_POST['short_title'] : NULL);
    117117          $this->_description = $_POST['description'];
    118118          $this->_private_notes = $_POST['private_notes'];
Note: See TracChangeset for help on using the changeset viewer.