Project

General

Profile

Actions

Bug #20674

closed

Misleading info: No workspaces found!

Added by Marc Wöhlken over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
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

11415.patch (1.41 KB) 11415.patch Administrator Admin, 2010-09-18 12:53
Actions

Also available in: Atom PDF