summaryrefslogtreecommitdiff
path: root/menus.php
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-10-25 17:14:15 +0000
committerNick Palmer <nick@sluggardy.net>2007-10-25 17:14:15 +0000
commitb92b718ef0e4919803995c7f8d431ef77110b093 (patch)
treead9ec2d7839a929fa23ecd73418280cfb244ec5d /menus.php
parent04a96c12d2c960a647823acd406dee94ea98fe9d (diff)
downloadnexus-b92b718ef0e4919803995c7f8d431ef77110b093.tar.gz
nexus-b92b718ef0e4919803995c7f8d431ef77110b093.tar.bz2
nexus-b92b718ef0e4919803995c7f8d431ef77110b093.zip
Fix up various vd()s to use something more useful.
Diffstat (limited to 'menus.php')
-rw-r--r--menus.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/menus.php b/menus.php
index cd46abf..021dbaa 100644
--- a/menus.php
+++ b/menus.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
* @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 {
- vd( $gNexus->mErrors );
+ $gBitSystem->fatalError( "Error Importing Structure", "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 {
- vd( $gNexus->mErrors );
+ $gBitSystem->fatalError( "Error Deleting Menu", "There was an error deleting the menu: " . vc($gNexus->mErrors) );
}
}