<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: Error Checking for Profile Pic Options existence. Critical.</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Error Checking for Profile Pic Options existence. Critical.</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 10:54:38 +0000</pubDate>

<item>
<title>technosailor on "Error Checking for Profile Pic Options existence. Critical."</title>
<link>http://wordpress.org/support/topic/266381#post-1060021</link>
<pubDate>Wed, 29 Apr 2009 15:54:54 +0000</pubDate>
<dc:creator>technosailor</dc:creator>
<guid isPermaLink="false">1060021@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Error checking, please. If an user profile is updated without profile pic options, then it should not break the admin. Please modify lines 420-427 to be:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if( $_POST[&#38;#39;profilepic_displayoptions&#38;#39;] ) :
		$raw_data = $_POST[&#38;#39;profilepic_displayoptions&#38;#39;];
		$reversed_data = array();
		foreach ($raw_data as $key =&#38;gt; $val) {
			$reversed_data[$val] = $key;
		}

		profilepic_internal_storeuserdisplaysettings($reversed_data, &#38;#39;profilepic_displayoptions_&#38;#39;.$profile_id, $filename);
	endif;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks. :)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/profile-pic/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/profile-pic/&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
