From d98d4540790616b0dc0e1f613e4c217d24038a97 Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Mon, 10 Jul 2006 13:46:55 +0200 Subject: fixing undefined variables Fixing undefined variable notices and sometimes the underlying error that produced them. darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz --- lib/exe/ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/exe') diff --git a/lib/exe/ajax.php b/lib/exe/ajax.php index 5ae6f4df8..0100f3130 100644 --- a/lib/exe/ajax.php +++ b/lib/exe/ajax.php @@ -80,7 +80,7 @@ function ajax_lock(){ $client = $_SERVER['REMOTE_USER']; if(!$client) $client = clientIP(true); - $draft = array('id' => $ID, + $draft = array('id' => $id, 'prefix' => $_POST['prefix'], 'text' => $_POST['wikitext'], 'suffix' => $_POST['suffix'], -- cgit v1.2.3