Changeset 93
- Timestamp:
- Apr 15, 2006 12:20:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/PEdit.inc.php
r92 r93 208 208 function formBegin() 209 209 { 210 if (!$this->_authorized ) {210 if (!$this->_authorized || empty($this->_data)) { 211 211 return false; 212 212 } … … 293 293 function formEnd() 294 294 { 295 if (!$this->_authorized || preg_match('/\.php__/', $_SERVER['PHP_SELF'])) {295 if (!$this->_authorized || empty($this->_data)) { 296 296 // Don't show form elements for versioned documents. 297 297 return false;
Note: See TracChangeset
for help on using the changeset viewer.