fixed bug in quoting of acl schema identifiers

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6505 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phishy 2008-03-03 18:34:15 +00:00
parent afedfae4bf
commit 18b30e11b4

View file

@ -553,11 +553,12 @@ class DboOracle extends DboSource {
*/
function name($var) {
switch($var) {
case '_create':
case '_read':
case '_update':
case '_delete':
return "\"$var\"";
case 'Permission._create':
case 'Permission._read':
case 'Permission._update':
case 'Permission._delete':
list($model, $field) = explode('.', $var);
return "$model.\"$field\"";
break;
default:
return $var;