summaryrefslogtreecommitdiff
diff options
-rw-r--r--classes/Profile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index cd9b15961b..945d1a74ca 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -233,10 +233,10 @@ class Profile extends Managed_DataObject
*
* @return mixed Notice or null
*/
- function getCurrentNotice()
+ function getCurrentNotice(Profile $scoped=null)
{
try {
- $notice = $this->getNotices(0, 1);
+ $notice = $this->getNotices(0, 1, 0, 0, $scoped);
if ($notice->fetch()) {
if ($notice instanceof ArrayWrapper) {