mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
afedfae4bf
commit
18b30e11b4
1 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue