Protects against temporary objects that exist only in memory (id < 0)

SVN:trunk[2203]
This commit is contained in:
Denis Flaven
2012-09-25 08:31:42 +00:00
parent aa9c7c7091
commit 20c5e1b6ad
2 changed files with 4 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ EOF
protected function MakeID($sName)
{
return str_replace(array('[', ']'), '_', $sName);
return str_replace(array('[', ']', '-'), '_', $sName);
}
/**