# HG changeset patch # User rejo # Date 1181085143 0 # Node ID 79b09e1e29850b0572225b710586d29d0602d82a # Parent 305cee3b388d63bc466f1bb29b1fb01a1237bfb4 [feladat @ 63] Bugfix. The number of arguments for the function validate_input() in record.inc.php and dns.inc.php was different, causing a variables to be validated incorrectly. diff -r 305cee3b388d -r 79b09e1e2985 inc/dns.inc.php --- a/inc/dns.inc.php Tue Jun 05 22:40:47 2007 +0000 +++ b/inc/dns.inc.php Tue Jun 05 23:12:23 2007 +0000 @@ -1,34 +1,10 @@ trancer nl> | -// | Sjeemz sjeemz nl> | -// +--------------------------------------------------------------------+ - -// Filename: dns.inc.php -// Startdate: 26-10-2002 -// Description: checks whether a given content is valid. -// A lot of DNS Record features are found to be here and also are to be placed here. -// If they are authorized this code handles that they can access stuff. -// -// $Id: dns.inc.php,v 1.23 2003/02/23 21:31:13 azurazu Exp $ -// - - /* * Validates an IPv4 IP. * returns true if valid. */ -function validate_input($recordid, $zoneid, $type, &$content, &$name, &$prio, &$ttl) +function validate_input($zoneid, $type, &$content, &$name, &$prio, &$ttl) { global $db;