Fixed #13705: Record info in workspace always shows live version (Thanks to Julia...
authorBenni Mack <benni.mack@typo3.org>
Tue, 21 Sep 2010 19:55:51 +0000 (19:55 +0000)
committerBenni Mack <benni.mack@typo3.org>
Tue, 21 Sep 2010 19:55:51 +0000 (19:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@8839 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/show_item.php

index dda10cc..3d49286 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-21  Benjamin Mack  <benni@typo3.org>
+
+       * Fixed #13705: Record info in workspace always shows live version (Thanks to Julia Pardanaud)
+
 2010-09-20  Steffen Kamper  <steffen@typo3.org>
 
        * Fixed bug #15753: Pageicons in WS module are broken
index 2a59115..e3e266d 100644 (file)
@@ -179,7 +179,7 @@ class SC_show_item {
                                        $this->access = is_array($this->pageinfo) ? 1 : 0;
                                        $this->row = $this->pageinfo;
                                } else {
-                                       $this->row = t3lib_BEfunc::getRecord($this->table,$this->uid);
+                                       $this->row = t3lib_BEfunc::getRecordWSOL($this->table, $this->uid);
                                        if ($this->row) {
                                                $this->pageinfo = t3lib_BEfunc::readPageAccess($this->row['pid'],$this->perms_clause);
                                                $this->access = is_array($this->pageinfo) ? 1 : 0;