(bugfix) Followup for #1678: limit to language; made the variable names better (Thank...
authorBenni Mack <benni.mack@typo3.org>
Tue, 8 Jan 2008 22:45:21 +0000 (22:45 +0000)
committerBenni Mack <benni.mack@typo3.org>
Tue, 8 Jan 2008 22:45:21 +0000 (22:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2874 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tcemain.php

index f4e4e70..65a5900 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2008-01-08  Benjamin Mack  <mack@xnos.org>
 
+       * (bugfix) Followup for #1678: limit to language; made the variable names better (Thanks to Helmut Hummel)
        * (bugfix) Fixed #7101: CType bullets not rendered correctly (thanks to Steffen Kamper)
        * (bugfix) Fixed #6883: Added missing functions in typo3/template.php
 
@@ -11,7 +12,7 @@
 
        * Fixed bug #6961: Errors in link creation popup window
 
-2007-01-06  Oliver Hader  <oh@inpublica.de>
+2008-01-06  Oliver Hader  <oh@inpublica.de>
 
        * Fixed bug #5994: IRRE - RTEhtmlarea is not show in child records if parent has no RTE
 
index 462263f..2aac8f7 100755 (executable)
@@ -3179,10 +3179,10 @@ class t3lib_TCEmain     {
                        }
 
                                // Checking if there is anything else disallowing moving the record by checking if editing is allowed
-                       $editAccess = $this->BE_USER->recordEditAccessInternals($table,$uid);
+                       $mayEditAccess = $this->BE_USER->recordEditAccessInternals($table,$uid);
 
                                // If moving is allowed, begin the processing:
-                       if ($editAccess)        {
+                       if ($mayEditAccess)     {
                                if ($mayMoveAccess)     {
                                        if ($mayInsertAccess)   {
 
@@ -3729,11 +3729,11 @@ class t3lib_TCEmain     {
                global $TCA;
 
                        // Checking if there is anything else disallowing deleting the record by checking if editing is allowed
-               $editAccess = $this->BE_USER->recordEditAccessInternals($table,$uid);
+               $mayEditAccess = $this->BE_USER->recordEditAccessInternals($table,$uid);
 
                $uid = intval($uid);
                if ($TCA[$table] && $uid)       {
-                       if ($editAccess)        {
+                       if ($mayEditAccess)     {
                                if ($noRecordCheck || $this->doesRecordExist($table,$uid,'delete'))     {
                                        $this->clear_cache($table,$uid);        // clear cache before deleting the record, else the correct page cannot be identified by clear_cache