summaryrefslogtreecommitdiff
path: root/view_xref.php
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2010-11-03 21:23:42 +0000
committerLester Caine <lsces@lsces.co.uk>2010-11-03 21:23:42 +0000
commit247ceba33ed38018f0ae846e3d2754b5968c1b73 (patch)
treed28f5667962dfbb333654f09ebf94f2724217c00 /view_xref.php
parent51bfe056c9c50b7a67c9df690012d0a81c585463 (diff)
downloadcontact-247ceba33ed38018f0ae846e3d2754b5968c1b73.tar.gz
contact-247ceba33ed38018f0ae846e3d2754b5968c1b73.tar.bz2
contact-247ceba33ed38018f0ae846e3d2754b5968c1b73.zip
Use the data set from xref_store ... this is probably wrong and mInfo should just have the raw data
Diffstat (limited to 'view_xref.php')
-rw-r--r--view_xref.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/view_xref.php b/view_xref.php
index cf9da58..b0a6796 100644
--- a/view_xref.php
+++ b/view_xref.php
@@ -43,8 +43,9 @@ if (isset($_REQUEST["fCancel"])) {
// formInfo might be set due to a error on submit
if( empty( $xrefInfo ) ) {
- $xrefInfo = &$gContent->mInfo['xref_store'];
+ $xrefInfo = &$gContent->mInfo['xref_store']['data'];
}
+vd($xrefInfo);
$gBitSmarty->assign_by_ref( 'xrefInfo', $xrefInfo );
$gBitSmarty->assign_by_ref( 'title', $gContent->mInfo['title'] );
$gBitSmarty->assign_by_ref( 'xref_title', $gContent->mInfo['xref_title'] );