diff options
| -rw-r--r-- | BitLanguage.php | 4 |
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; |
