Skip to content

Commit

Permalink
Fix issue #149
Browse files Browse the repository at this point in the history
Bug reported in the plugin setting element. Was calling a method on an object that did not exist.  Fix by setting to use our internalized setSetting method.
  • Loading branch information
mastacontrola committed Dec 27, 2016
1 parent f23fb06 commit 63812e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/web/lib/fog/plugin.class.php
Expand Up @@ -149,9 +149,7 @@ private function _getDirs()
{
$dir = trim(self::getSetting('FOG_PLUGINSYS_DIR'));
if ($dir != '../lib/plugins/') {
$Service
->set('value', '../lib/plugins/')
->save();
self::setSetting('FOG_PLUGINSYS_DIR', '../lib/plugins/');
$dir = '../lib/plugins/';
}
$patternReplacer = function ($element) {
Expand Down
4 changes: 2 additions & 2 deletions packages/web/lib/fog/system.class.php
Expand Up @@ -53,10 +53,10 @@ private static function _versionCompare()
public function __construct()
{
self::_versionCompare();
define('FOG_VERSION', '1.3.0');
define('FOG_VERSION', '25');
define('FOG_SCHEMA', 244);
define('FOG_BCACHE_VER', 109);
define('FOG_SVN_REVISION', 6050);
define('FOG_SVN_REVISION', 6052);
define('FOG_CLIENT_VERSION', '0.11.7');
}
}
2 changes: 1 addition & 1 deletion packages/web/management/languages/messages.pot
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-24 10:58-0500\n"
"POT-Creation-Date: 2016-12-27 08:52-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down

0 comments on commit 63812e0

Please sign in to comment.