[gallery/gallery3] ac9ab9: Fix up some issues introduced in db1b52f059faf6973...
GitHub <noreply-9UaJU3cA/F/[email protected]> Thu, 02 May 2013 16:39:20 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <5182f9286f6d9_564f1163e14449a4@hookshot-fe1-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: ac9ab946ce1407255d6c412d936b567130d8af76
https://github.com/gallery/gallery3/commit/ac9ab946ce1407255d6c412d936b567130d8af76
Author: Bharat Mediratta <[email protected]>
Date: 2013-05-02 (Thu, 02 May 2013)
Changed paths:
M modules/gallery/classes/Gallery/Hook/GalleryEvent.php
Log Message:
-----------
Fix up some issues introduced in db1b52f059faf6973a32d35a46da7bf05e00de7f
Database_Result::current() can return null if there are no results,
but ORM::find() always returns a Model so we need to use ORM::loaded()
in conditionals, not null checking.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]