From: <var...@us...> - 2021-09-20 12:34:59
|
Revision: 10592 http://sourceforge.net/p/phpwiki/code/10592 Author: vargenau Date: 2021-09-20 12:34:57 +0000 (Mon, 20 Sep 2021) Log Message: ----------- sql_quote has no parameter Modified Paths: -------------- trunk/lib/TextSearchQuery.php Modified: trunk/lib/TextSearchQuery.php =================================================================== --- trunk/lib/TextSearchQuery.php 2021-09-20 12:26:39 UTC (rev 10591) +++ trunk/lib/TextSearchQuery.php 2021-09-20 12:34:57 UTC (rev 10592) @@ -662,7 +662,7 @@ function sql() { - return '%' . $this->sql_quote($this->word) . '%'; + return '%' . $this->sql_quote() . '%'; } } @@ -696,7 +696,7 @@ function sql() { - return $this->sql_quote($this->word) . '%'; + return $this->sql_quote() . '%'; } } @@ -723,7 +723,7 @@ function sql() { - return '%' . $this->sql_quote($this->word); + return '%' . $this->sql_quote(); } } @@ -767,7 +767,7 @@ function sql() { - return $this->sql_quote($this->word); + return $this->sql_quote(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |