summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-16 10:05:03 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-16 10:05:03 +0100
commit245a983988cc3725bbfe28978b54a2612a72302c (patch)
tree4ff245b2a7de0d35890e412fbd89020181c48295
parent1e55c71f6e0b84000f04b77c1e5fb0f50a53f774 (diff)
downloadlanguages-245a983988cc3725bbfe28978b54a2612a72302c.tar.gz
languages-245a983988cc3725bbfe28978b54a2612a72302c.tar.bz2
languages-245a983988cc3725bbfe28978b54a2612a72302c.zip
Tidy up to remove 'STRICT' warnings
-rw-r--r--LibertyTranslations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibertyTranslations.php b/LibertyTranslations.php
index 59932da..ba6cb90 100644
--- a/LibertyTranslations.php
+++ b/LibertyTranslations.php
@@ -118,7 +118,7 @@ function translation_content_edit( &$pObject, &$pParamHash ) {
if( @BitBase::verifyId( $_REQUEST['i18n']['from_id'] ) ) {
// load the content we're translating from
- $transObject = $trans->getLibertyObject( $_REQUEST['i18n']['from_id'] );
+ $transObject = LibertyBase::getLibertyObject( $_REQUEST['i18n']['from_id'] );
$gBitSmarty->assign_by_ref( "translateFrom", $transObject );
// attempt google translation