<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5389&amp;type=atom" />
	<updated>2015-03-19T15:28:02Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5389</id>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22939#p22939" />
			<content type="html"><![CDATA[<p>Link to commit would be useful. Your <a href="https://github.com/rossaddison/import_transactions/commits/master">commit list</a> does not show it as yet.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-03-19T15:28:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22939#p22939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22914#p22914" />
			<content type="html"><![CDATA[<p>Code has been adjusted in the extension.</p>]]></content>
			<author>
				<name><![CDATA[raddison]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19840</uri>
			</author>
			<updated>2015-03-16T14:13:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22914#p22914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21800#p21800" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>$trial = (isset($_POST[&#039;trial&#039;]) &amp;&amp; ($_POST[&#039;trial&#039;]!=null)) ;</code></pre></div><p>is way better.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-12-18T16:20:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21800#p21800</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21786#p21786" />
			<content type="html"><![CDATA[<p>I believe it sets the value to 1.</p><p>It is a very confusing way of testing if a box is checked or not.</p><p>It was failing to cater for the box not being checked.</p><p>if (isset($_POST[&#039;trial&#039;]) &amp;&amp; ($_POST[&#039;trial&#039;]!=null)) {<br />&nbsp; &nbsp; &nbsp;$trial = true;<br />} else {<br />&nbsp; &nbsp; &nbsp;$trial = false;<br />}</p><p>Is probably neater.</p><p>HTH</p><p>G</p>]]></content>
			<author>
				<name><![CDATA[geoffreywalton]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19856</uri>
			</author>
			<updated>2014-12-17T08:45:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21786#p21786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21783#p21783" />
			<content type="html"><![CDATA[<p>What is the meaning of <strong>$trial = !null;</strong> ? Is the value <strong>true</strong> or <strong>false</strong>? Is it&#039;s value dependent on PHP version used? </p><p>This logic can certainly do with some housekeeping.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-12-17T04:31:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21783#p21783</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21778#p21778" />
			<content type="html"><![CDATA[<p>5.2.17</p>]]></content>
			<author>
				<name><![CDATA[geoffreywalton]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19856</uri>
			</author>
			<updated>2014-12-16T15:54:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21778#p21778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21772#p21772" />
			<content type="html"><![CDATA[<p>What is the version of your PHP?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-12-16T09:06:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21772#p21772</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Import Transactions 			2.3.22-4 	2.3.22-4]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21767#p21767" />
			<content type="html"><![CDATA[<p>When testing this feature I get the message</p><p>67 Payments would have been successful if imported. Uncheck Trial check before importing.</p><p>Around line 238 of /modules/import_transactions/import_transactions.php change</p><p>// Commit import to database<br /> if ((isset($_POST[&#039;trial&#039;])) &amp;&amp; ($_POST[&#039;trial&#039;]==null)){&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; $trial = null;<br /> }<br /> if (isset($_POST[&#039;trial&#039;]) &amp;&amp; ($_POST[&#039;trial&#039;]!=null)) {<br />&nbsp; &nbsp;&nbsp; $trial = !null;<br /> }</p><p>To</p><p>// Commit import to database<br /> if ((isset($_POST[&#039;trial&#039;])) &amp;&amp; ($_POST[&#039;trial&#039;]==null)){&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; $trial = null;<br /> }<br /> if (isset($_POST[&#039;trial&#039;]) &amp;&amp; ($_POST[&#039;trial&#039;]!=null)) {<br />&nbsp; &nbsp;&nbsp; $trial = !null;<br /> }</p><p> if (!isset($_POST[&#039;trial&#039;]) ) {<br />&nbsp; &nbsp;&nbsp; $trial = null;<br /> }</p><p>seems to do the trick.</p><p>HTH</p><p>G</p>]]></content>
			<author>
				<name><![CDATA[geoffreywalton]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19856</uri>
			</author>
			<updated>2014-12-15T17:09:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21767#p21767</id>
		</entry>
</feed>
