summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-10-25 20:43:02 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-10-25 20:43:02 +0000
commita2f7397285184871735921ceb3bc25840017c8fc (patch)
tree522bd0d8137a2c130975cba13f237ab197d48e59
parent18c6277456ff358a88117dafd9d583b3a51d35b8 (diff)
downloadnexus-a2f7397285184871735921ceb3bc25840017c8fc.tar.gz
nexus-a2f7397285184871735921ceb3bc25840017c8fc.tar.bz2
nexus-a2f7397285184871735921ceb3bc25840017c8fc.zip
fix fatalError() usage
-rw-r--r--menus.php6
-rw-r--r--servicefunctions_inc.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/menus.php b/menus.php
index 021dbaa..73539b9 100644
--- a/menus.php
+++ b/menus.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
* @package nexus
* @subpackage functions
*/
@@ -50,7 +50,7 @@ if( isset( $_REQUEST['action'] ) ) {
if( $gNexus->importStructure( $_REQUEST['structure_id'] ) ) {
$formfeedback['success'] = tra( 'The structure was successfully imported as menu.' );
} else {
- $gBitSystem->fatalError( "Error Importing Structure", "There was an error importing the structure: " . vc($gNexus->mErrors ) );
+ $gBitSystem->fatalError( "There was an error importing the structure: ".vc( $gNexus->mErrors ));
}
}
}
@@ -60,7 +60,7 @@ if( isset( $_REQUEST['confirm'] ) ) {
header ("Location: ".NEXUS_PKG_URL."menus.php");
die;
} else {
- $gBitSystem->fatalError( "Error Deleting Menu", "There was an error deleting the menu: " . vc($gNexus->mErrors) );
+ $gBitSystem->fatalError( "There was an error deleting the menu: ".vc( $gNexus->mErrors ));
}
}
diff --git a/servicefunctions_inc.php b/servicefunctions_inc.php
index 96a8e73..adc8540 100644
--- a/servicefunctions_inc.php
+++ b/servicefunctions_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_nexus/servicefunctions_inc.php,v 1.6 2007/10/25 20:13:11 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_nexus/servicefunctions_inc.php,v 1.7 2007/10/25 20:43:02 squareing Exp $
*
* @package nexus
* @subpackage functions
@@ -51,7 +51,7 @@ function nexus_content_store( $pObject, $pParamHash ) {
$nexusHash['rsrc'] = $pParamHash['content_id'];
$nexusHash['rsrc_type'] = 'content_id';
if( !$nexus->storeItem( $nexusHash ) ) {
- $gBitSystem->fatalError( "Error Storing Item", "There was an error storing the item: ".vc( $nexus->mErrors ));
+ $gBitSystem->fatalError( "There was an error storing the item: ".vc( $nexus->mErrors ));
}
$nexus->load();
} elseif( !empty( $pParamHash['nexus']['remove_item'] ) ) {