summaryrefslogtreecommitdiff
path: root/ContactXref.php
diff options
context:
space:
mode:
Diffstat (limited to 'ContactXref.php')
-rw-r--r--ContactXref.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ContactXref.php b/ContactXref.php
index d1f109f..e73f2ae 100644
--- a/ContactXref.php
+++ b/ContactXref.php
@@ -80,7 +80,8 @@ class ContactXref extends BitBase {
$pParamHash['xref_store']['source'] = $pParamHash['Array_xref_type_list']['Array.source'];
}
$pParamHash['xref_store']['content_id'] = $pParamHash['content_id'];
- $pParamHash['xref_store']['xorder'] = 0;
+ $sql = "SELECT x`.multi` FROM `".BIT_DB_PREFIX."contact_xref_source` x WHERE x.`source` = ?";
+ $pParamHash['xref_store']['xorder'] = $this->mDb->getOne( $sql, array( $pParamHash['xref_store']['source'] ) );
}
if ( isset ( $pParamHash['fStepXref'] ) ) {