From ea8ea3c610582c8d564c5be38bc91b1987410a6b Mon Sep 17 00:00:00 2001
From: Cash Costello
Date: Sun, 5 Jun 2011 12:14:47 +0000
Subject: merged in r580 and r581 into trunk
---
views/default/tidypics/forms/ajax_upload.php | 2 +-
views/default/tidypics/forms/setupFlickr.php | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
(limited to 'views/default/tidypics/forms')
diff --git a/views/default/tidypics/forms/ajax_upload.php b/views/default/tidypics/forms/ajax_upload.php
index c81c9173d..4a7a05c0c 100644
--- a/views/default/tidypics/forms/ajax_upload.php
+++ b/views/default/tidypics/forms/ajax_upload.php
@@ -1,6 +1,6 @@
". elgg_echo( 'flickr:intro' ) . "
";
$form_body .= elgg_echo( 'flickr:usernamesetup') . "
";
$form_body .= "";
-$albums = get_entities( "object", "album", $user->guid );
+$albums = elgg_get_entities(array(
+ "type=" => "object",
+ "subtype" => "album",
+ "owner_guid" => $user->guid,
+));
$options = array( 0 => elgg_echo( 'flickr:selectalbum' ));
foreach( $albums as $album ) {
$title = $album->title;
--
cgit v1.2.3