Fixed bug #14243: some notices, undefined index in tslib_fe.php (Thanks to Martin...
[Packages/TYPO3.CMS.git] / typo3 / db_list.php
index aca673b..1967ed4 100644 (file)
@@ -271,7 +271,7 @@ class SC_db_list {
                                        $tce->process_cmdmap();
 
                                        if (isset($cmd['pages']))       {
-                                               t3lib_BEfunc::getSetUpdateSignal('updatePageTree');
+                                               t3lib_BEfunc::setUpdateSignal('updatePageTree');
                                        }
 
                                        $tce->printLogErrorMessages(t3lib_div::getIndpEnv('REQUEST_URI'));
@@ -284,7 +284,9 @@ class SC_db_list {
                        $dblist->setDispFields();
 
                                // Render versioning selector:
-                       $dblist->HTMLcode.= $this->doc->getVersionSelector($this->id);
+                       if (t3lib_extMgm::isLoaded('version')) {
+                               $dblist->HTMLcode .= $this->doc->getVersionSelector($this->id);
+                       }
 
                                // Render the list of tables:
                        $dblist->generateList();