<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — $ext == 'module' error?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3653</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3653&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in $ext == 'module' error?.]]></description>
		<lastBuildDate>Wed, 19 Dec 2012 17:11:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: $ext == 'module' error?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14713#p14713</link>
			<description><![CDATA[<p>You are right. Those are artifacts of pre-2.2 extensions. Will be cleaned up in next minor version. Thanks for pointing this out.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 19 Dec 2012 17:11:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14713#p14713</guid>
		</item>
		<item>
			<title><![CDATA[$ext == 'module' error?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14665#p14665</link>
			<description><![CDATA[<p>In the file <strong>admin/inst_module.php</strong>, shouldn&#039;t the line 116<br /></p><div class="codebox"><pre><code>        $is_mod = $ext[&#039;type&#039;] == &#039;module&#039;;</code></pre></div><p>be<br /></p><div class="codebox"><pre><code>        $is_mod = $ext[&#039;type&#039;] == &#039;extension&#039;;</code></pre></div><p>Better still, have the line removed as the $is_mod variable is not used anywhere at all.</p><p>In the file <strong>includes/ui/ui_lists.inc</strong>, shouldn&#039;t the line 2213<br /></p><div class="codebox"><pre><code>        if ($ext[&#039;type&#039;] == &#039;module&#039; &amp;&amp; !$ext[&#039;active&#039;])
            $tabs[$ext[&#039;tab&#039;]] = access_string($ext[&#039;title&#039;], true);</code></pre></div><p>be<br /></p><div class="codebox"><pre><code>        if ($ext[&#039;type&#039;] == &#039;extension&#039; &amp;&amp; !$ext[&#039;active&#039;])
            $tabs[$ext[&#039;tab&#039;]] = access_string($ext[&#039;title&#039;], true);</code></pre></div><p>Also the subsequent line refers to the <strong>$ext[&#039;tab&#039;]</strong> variable coming from $installed_extensions array that has been commented out in <strong>includes/packages.inc</strong> file in lines 128, 494, 671-672.</p><p>On a similar note, consequent to the gross changes in the extensions / plugins system in FA v2.3+, the file <strong>sql/alter2.3.php</strong> has the line 297 as part of a commented out block.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 18 Dec 2012 05:55:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14665#p14665</guid>
		</item>
	</channel>
</rss>
