diff options
| author | Lester Caine <lsces@lsces.co.uk> | 2010-11-28 08:37:14 +0000 |
|---|---|---|
| committer | Lester Caine <lsces@lsces.co.uk> | 2010-11-28 08:37:14 +0000 |
| commit | c83f1020957a9bb7d5bf9696dd752dcb5b32e4a5 (patch) | |
| tree | fcb75237266db27423586ebdd34923728e3ef924 /add_xref.php | |
| parent | 380ad37d2ba794a3100d84c79edced4c89b23a09 (diff) | |
| download | contact-c83f1020957a9bb7d5bf9696dd752dcb5b32e4a5.tar.gz contact-c83f1020957a9bb7d5bf9696dd752dcb5b32e4a5.tar.bz2 contact-c83f1020957a9bb7d5bf9696dd752dcb5b32e4a5.zip | |
Setting 'format guid' to text overrides the html editor when only simple text notes boxes are required.
Diffstat (limited to 'add_xref.php')
| -rw-r--r-- | add_xref.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/add_xref.php b/add_xref.php index aabfc09..4832e4c 100644 --- a/add_xref.php +++ b/add_xref.php @@ -45,6 +45,7 @@ if( empty( $xrefInfo ) ) { $xrefInfo['xref_type'] = $_REQUEST['xref_type']; } $xrefInfo['xref_type_list'] = $gContent->getXrefTypeList( $xrefInfo['xref_type'] ); +$gContent->mInfo['format_guid'] = 'text'; $gBitSmarty->assign_by_ref( 'xrefInfo', $xrefInfo ); $gBitSmarty->assign_by_ref( 'title', $gContent->mInfo['title'] ); |
