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) { function name($var) {
switch($var) { switch($var) {
case '_create': case 'Permission._create':
case '_read': case 'Permission._read':
case '_update': case 'Permission._update':
case '_delete': case 'Permission._delete':
return "\"$var\""; list($model, $field) = explode('.', $var);
return "$model.\"$field\"";
break; break;
default: default:
return $var; return $var;