Actions
Bug #20674
closedMisleading info: No workspaces found!
Start date:
2009-06-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When creating a workspace without a description the workspace module will show a default description "No workspaces found!".
This is somewhat misleading and should be replaced by a better explanation like "No description available" or an empty description.
Problem located in /typo3/mod/user/ws/index.php moduleContent_publish():
$description = ($GLOBALS['BE_USER']->workspaceRec['description'] ? htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['description']) : '<em>[' . $LANG->getLL('shortcut_noWSfound') . ']</em>');
Fix (empty description):
$description = htmlspecialchars($GLOBALS['BE_USER']->workspaceRec['description']);
(issue imported from #M11415)
Files
Actions