Fixed bug #12947: saveDocNew saves on top instead of after (Thanks to Steffen Gebert)
[Packages/TYPO3.CMS.git] / typo3 / alt_doc.php
index 2805f22..4541eae 100644 (file)
@@ -1371,9 +1371,6 @@ class SC_alt_doc {
        function getNewIconMode($table, $key = 'saveDocNew') {
                $TSconfig = $GLOBALS['BE_USER']->getTSConfig('options.'.$key);
                $output = trim(isset($TSconfig['properties'][$table]) ? $TSconfig['properties'][$table] : $TSconfig['value']);
-               if (($key == 'saveDocNew' || $key == 'saveDocView') && $TSconfig['value'] != '0') {
-                       $output = !(isset($TSconfig['properties'][$table]) && $TSconfig['properties'][$table] == '0');
-               }
                return $output;
        }