<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — array_combine() object issue]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6653</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6653&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in array_combine() object issue.]]></description>
		<lastBuildDate>Wed, 18 Jan 2017 15:03:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: array_combine() object issue]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27409#p27409</link>
			<description><![CDATA[<p>All fixed in repository. Both 2.3 and 2.4.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 18 Jan 2017 15:03:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27409#p27409</guid>
		</item>
		<item>
			<title><![CDATA[Re: array_combine() object issue]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27408#p27408</link>
			<description><![CDATA[<p>There is also an instance in includes/main.inc on line 421 in 2.4.</p><p>I will fix this asap.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 18 Jan 2017 14:21:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27408#p27408</guid>
		</item>
		<item>
			<title><![CDATA[array_combine() object issue]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27406#p27406</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>array_combine() now returns array() instead of FALSE when two empty arrays are provided as parameters.</p></blockquote></div><p> in <a href="http://php.net/manual/en/migration54.incompatible.php">later versions of PHP</a>.</p><p>To ensure compatibility with later versions of PHP whilst retaining backward compatibility, most instances of <strong>array_combine(...</strong> have been replaced with <strong>(object)(array_combine(...</strong> except in <strong>includes/ui/ui_lists.inc</strong> which may be set right now in both branches.</p><p>Line 2370 in FA 2.3.25+ and line 2538 in FA 2.4RC1+:<br /></p><div class="codebox"><pre><code>    $services = array_combine(array_keys($payment_services), array_keys($payment_services));</code></pre></div><p>should now become:<br /></p><div class="codebox"><pre><code>    $services = (object)array_combine(array_keys($payment_services), array_keys($payment_services));</code></pre></div><p>Fixed in <a href="https://github.com/apmuthu/frontaccounting/commit/5365d98984d1ddc7567a84c0979357a4e15b3926">my FA 2.3.x repo</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 18 Jan 2017 10:04:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27406#p27406</guid>
		</item>
	</channel>
</rss>
