Project

General

Profile

Actions

Bug #20890

closed

unused parameter for t3lib_db::fullQuoteStr() and fullQuoteArray()

Added by David Bruchmann over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-08-15
Due date:
% Done:

0%

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

Description

the 2nd parameter $table isn't used in 3lib_db::fullQuoteStr($str, $table) and fullQuoteArray($arr, $table, $noQuote=FALSE) and has either be set to $table='' or to handled in some kind.
The first way is for backward-compatibility only, the 2nd way avoids reduced notation to include any mandatory handling (perhaps later).

(issue imported from #M11727)

Actions #1

Updated by David Bruchmann over 15 years ago

quoteStr() and escapeStrForLike() are concerned too

Perhaps this construction is used by dbal in another useful way - I did not check this point.

Actions #2

Updated by Georg Ringer over 13 years ago

  • Status changed from New to Closed
  • Target version deleted (0)

yes, this is needed for DBAL, but IMHO also when having joins to identify the correct table.

Actions #3

Updated by Xavier Perseguers over 13 years ago

Exactly. Thanks Georg.

Actions

Also available in: Atom PDF