<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/general/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/general/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 09 Feb 2002 22:07:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/general/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>common.inc.php scope problem?</title><link>https://sourceforge.net/p/general/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using RH7.2 with PHP4.0.6 and General 0.3.6&lt;/p&gt;
&lt;p&gt;Trying to figure out what getref does in &lt;br /&gt;
common.inc.php and noticed this check:&lt;/p&gt;
&lt;p&gt;$support = array();&lt;br /&gt;
...&lt;br /&gt;
if( !in_array( $param[&amp;amp;quot;url&amp;amp;quot;], array_keys( $support ) ) &lt;br /&gt;
|| !is_object( $support[$param[&amp;amp;quot;url&amp;amp;quot;]] ) )&lt;/p&gt;
&lt;p&gt;The variable $support is defined local to the getref &lt;br /&gt;
function and you've done nothing with it yet.  What do &lt;br /&gt;
you expect to find in it?  Here, you're searching it &lt;br /&gt;
for array keys for a specific URL and if there's an &lt;br /&gt;
object at that key?&lt;/p&gt;
&lt;p&gt;Then I noticed you have another $support = array(); &lt;br /&gt;
declared at the beginning of this include file.  Why?&lt;br /&gt;
Unless you meant to have the including file be able to &lt;br /&gt;
use it...without passing it into the functions.&lt;/p&gt;
&lt;p&gt;In summary, I think you want to change this line in &lt;br /&gt;
the getref function from:&lt;/p&gt;
&lt;p&gt;$support = array();&lt;/p&gt;
&lt;p&gt;-to-&lt;/p&gt;
&lt;p&gt;global $support = array();&lt;/p&gt;
&lt;p&gt;That way, you're changing the variable that's global &lt;br /&gt;
in this include file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Meehan</dc:creator><pubDate>Sat, 09 Feb 2002 22:07:30 -0000</pubDate><guid>https://sourceforge.net0454ba955a226abcd51dc5aa7b731ed5503c175f</guid></item><item><title>openldap.class.php bug?</title><link>https://sourceforge.net/p/general/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm on RH7.2, PHP4.0.6, Apache1.3.22.  Was tracking &lt;br /&gt;
down a login problem and noticed these in &lt;br /&gt;
openldap.class.php:&lt;/p&gt;
&lt;p&gt;$errmsg .= $loc-&amp;amp;gt;i18n( &amp;amp;quot;Unable to search &lt;br /&gt;
user&amp;amp;quot; ) . &amp;amp;quot;\n&amp;amp;quot;;&lt;/p&gt;
&lt;p&gt;-and-&lt;/p&gt;
&lt;p&gt;$errmsg .= $loc-&amp;amp;gt;i18n( &amp;amp;quot;Unable to get result&amp;amp;quot; ) . &amp;amp;quot;\n&amp;amp;quot;;&lt;/p&gt;
&lt;p&gt;Shouldn't these be: &lt;/p&gt;
&lt;p&gt;$errmsg .= $this-&amp;amp;gt;i18n( &amp;amp;quot;Unable to search &lt;br /&gt;
user&amp;amp;quot; ) . &amp;amp;quot;\n&amp;amp;quot;;&lt;/p&gt;
&lt;p&gt;-and-&lt;/p&gt;
&lt;p&gt;$errmsg .= $this-&amp;amp;gt;i18n( &amp;amp;quot;Unable to get &lt;br /&gt;
result&amp;amp;quot; ) . &amp;amp;quot;\n&amp;amp;quot;;&lt;/p&gt;
&lt;p&gt;I'm not good with objects in PHP, but this looked &lt;br /&gt;
fishy to me.&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toby Meehan</dc:creator><pubDate>Sat, 09 Feb 2002 02:34:37 -0000</pubDate><guid>https://sourceforge.net93a15c184a07407012510f6865c0f4af0ca80350</guid></item></channel></rss>