[Pieforms-commit] SF.net SVN: pieforms:[312] pieforms-php5/trunk/src/pieform.php
Status: Alpha
Brought to you by:
oracleshinoda
|
From: <ora...@us...> - 2009-07-12 22:00:45
|
Revision: 312
http://pieforms.svn.sourceforge.net/pieforms/?rev=312&view=rev
Author: oracleshinoda
Date: 2009-07-12 22:00:42 +0000 (Sun, 12 Jul 2009)
Log Message:
-----------
Make sure the plugin is loaded before looking for its i18n function.
Modified Paths:
--------------
pieforms-php5/trunk/src/pieform.php
Modified: pieforms-php5/trunk/src/pieform.php
===================================================================
--- pieforms-php5/trunk/src/pieform.php 2009-06-27 09:34:25 UTC (rev 311)
+++ pieforms-php5/trunk/src/pieform.php 2009-07-12 22:00:42 UTC (rev 312)
@@ -1072,6 +1072,7 @@
}
// Fall back to the default string
+ $this->include_plugin($plugin, $pluginname);
$function = 'pieform_' . $plugin . '_' . $pluginname . '_i18n';
if (function_exists($function)) {
$strings = $function();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|