not perfect but better re: dup server name conflict

This commit is contained in:
Miles Lott 2001-08-13 22:11:47 +00:00
parent 07a3679c01
commit fc01f2d86e

View File

@ -62,7 +62,7 @@
$errorcount = 0;
$tmp = $is->name2id($server_name);
if($tmp != $server_id)
if($tmp)
{
$error[$errorcount++] = lang('That server name has been used already !');
}