index.php
changeset 1252 e34c23a35dc9
parent 1250 d2db9f3628ab
child 1290 27ab1b13a783
--- a/index.php	Sun May 16 21:35:43 2010 -0400
+++ b/index.php	Wed Jun 02 21:58:26 2010 -0400
@@ -322,10 +322,10 @@
 		break;
 	case 'catedit':
 		require_once(ENANO_ROOT.'/includes/pageutils.php');
-		if(isset($_POST['__enanoSaveButton']))
+		if(isset($_POST['save']))
 		{
-			unset($_POST['__enanoSaveButton']);
-			$val = PageUtils::catsave($paths->page_id, $paths->namespace, $_POST);
+			unset($_POST['save']);
+			$val = PageUtils::catsave($paths->page_id, $paths->namespace, $_POST['categories']);
 			if($val == 'GOOD')
 			{
 				header('Location: '.makeUrl($paths->page)); echo '<html><head><title>Redirecting...</title></head><body>If you haven\'t been redirected yet, <a href="'.makeUrl($paths->page).'">click here</a>.'; break;