<rss version="2.0">
		<channel>
			<title>Plogger Support Forum - Function empty() does not determine value correctly</title>
			<lastBuildDate>Thu, 16 Apr 2026 05:34:21 +0000</lastBuildDate>
			<link>http://www.plogger.org/forum/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.10</generator>
			<item>
		<title>Function empty() does not determine value correctly</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=321&amp;Focus=1628#Comment_1628</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=321&amp;Focus=1628#Comment_1628</guid>
		<pubDate>Thu, 22 Dec 2005 01:30:40 +0000</pubDate>
		<author>mortum</author>
		<description>
			<![CDATA[File: gallery.php<br />Function: the_gallery()<br /><br />Somehow, the function empty() does not determine value of $row[&quot;unix_exif_date_taken&quot;] (EXIF_date_taken in MySQL) and therefore $row[&quot;unix_date_submitted&quot;] always overrides in:<br /><br /> // The original code<br />$date_taken = !empty($row[&quot;unix_exif_date_taken&quot;]) ? $row[&quot;unix_exif_date_taken&quot;] : $row[&quot;unix_date_submitted&quot;];<br /><br />In order to display the date when photo was actually taken, I had to:<br /><br />// Hack!<br />$date_taken = $row[&quot;unix_exif_date_taken&quot;] ? $row[&quot;unix_exif_date_taken&quot;] : $row[&quot;unix_date_submitted&quot;];<br /><br />Or am I doing something wrong?<br /><br />Thank you :)]]>
		</description>
	</item>
	
		</channel>
	</rss>