Issue Bug Closed

#20674Misleading info: No workspaces found!

Marc Wöhlken 06/25/09, 19:08 updated 10/02/18, 12:25

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’]) : ‘[’ . $LANG->getLL(‘shortcut_noWSfound’) . ‘]‘);

Fix (empty description):
$description = htmlspecialchars($GLOBALS[‘BE_USER’]->workspaceRec[‘description’]);
(issue imported from #M11415)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.