A small bug appeared in vegadns-1.1.2/src/records.php
It only showed because I'm running E_ALL in php.ini
It only affects the 'success' message after adding a record
Attached is the diff
HTH
--
-----------------
Bob Hutchinson
Midwales dot com
-----------------
--- records.php.old 2005-02-15 04:30:53.000000000 +0000
+++ /var/www/vegadns-1.1.2/src/records.php 2005-03-15 10:05:00.000000000 +0000
@@ -404,7 +404,8 @@
}
$db->Execute($q) or die($db->ErrorMsg());
- $smarty->assign('message', "Record added successfully!");
+ $message = "Record added successfully!";
+ $smarty->assign('message', $message);
header("Location: $base_url&mode=records&domain=".urlencode($domain)."&message=".urlencode($message));
exit;
}