summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2020-06-26 12:18:17 -0400
committerspiderr <spiderr@bitweaver.org>2020-06-26 12:18:17 -0400
commit3314f98c38a8baae0262fcefa50d53ccee8fbb75 (patch)
tree73ec1bf1ea2db0397ac4f83d3fe822efb7482e40
parent420e0689482fa75337d912c62f303ab03e4d6f0f (diff)
downloadlanguages-3314f98c38a8baae0262fcefa50d53ccee8fbb75.tar.gz
languages-3314f98c38a8baae0262fcefa50d53ccee8fbb75.tar.bz2
languages-3314f98c38a8baae0262fcefa50d53ccee8fbb75.zip
clean up bindVars set to NULL... needs FALSE for newer ADODB
-rw-r--r--BitLanguage.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/BitLanguage.php b/BitLanguage.php
index 2804d3d..5f01cae 100644
--- a/BitLanguage.php
+++ b/BitLanguage.php
@@ -284,7 +284,8 @@ class BitLanguage extends BitSingleton {
*/
function loadMasterStrings( $pSourceHash = NULL, $pFilter = NULL, $pLangCode = NULL ) {
$this->verifyMastersLoaded();
- $bindVars = $whereSql = $joinSql = NULL;
+ $bindVars = FALSE;
+ $whereSql = $joinSql = NULL;
if( $pSourceHash ) {
$whereSql = ' WHERE `source_hash`=? ';
@@ -581,6 +582,7 @@ class BitLanguage extends BitSingleton {
* @return translation
*/
function translate( $pString ) {
+return $pString;
global $gBitTranslationHash, $gBitSystem;
$sourceHash = $this->getSourceHash( $pString );
$cacheFile = TEMP_PKG_PATH."lang/".$this->mLanguage."/".$sourceHash;