Project

General

Profile

Actions

Bug #14435

closed

incorrect var name in t3lib_cs conv_case: $str should be $string

Added by old_jsb over 19 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2004-12-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

a small typo discovered in t3lib/class.t3lib_cs.php
lines 1502 and 1504, in conv_case
the variable $str is used, but there is no $str in the scope
The variable should be $string

This bug is only evident on systems running php 4.3 and above.
(issue imported from #M576)


Files

0000576-class.t3lib_cs.diff.txt (627 Bytes) 0000576-class.t3lib_cs.diff.txt Administrator Admin, 2005-01-22 00:00
Actions #1

Updated by old_jsb over 19 years ago

As the t3lib_cs conv_case method is called from withing tslib_content's caseshift method, the ramifications of this bug could pop up in many frontend case changing scenarios. The result for me was the returning of an empty string, rather than a case converted string. In other words, things disappear instead of becoming all lower case or all upper case.

Actions #2

Updated by Michael Scharkow over 19 years ago

uploaded patch, although with a useless extension. sorry.

edited on: 22.01.05 00:02

Actions #3

Updated by Martin Kutschker over 19 years ago

fixed in cvs for 3.8

Actions

Also available in: Atom PDF