fix another place needs quotes for mysql

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-09-29 12:51:13 +00:00
parent 003323728d
commit 2986895ee0

View File

@ -709,11 +709,11 @@ sub setAttribs
{
if (ref($keypairs{$_}))
{
$cmd .= $_ . " = '" . $keypairs{$_}->[0] . "' AND ";
$cmd .= "\"$_\"" . " = '" . $keypairs{$_}->[0] . "' AND ";
}
else
{
$cmd .= $_ . " = '" . $keypairs{$_} . "' AND ";
$cmd .= "\"$_\"" . " = '" . $keypairs{$_} . "' AND ";
}
}
$cmd =~ s/ AND \z//;