Error: Undefined variable:institutions

Bug #1650962 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic

Bug Description

See error message in screen Web services/logs

[WAR] 5c (webservice/admin/webservicessearchlib.php:80) Undefined variable: institutions
Call stack (most recent first):

    log_message("Undefined variable: institutions", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/webservic...", 80) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521
    error(8, "Undefined variable: institutions", "/home/ceciliavg/maharacode/mahara/htdocs/webservic...", 80, array(size 10)) at /home/ceciliavg/maharacode/mahara/htdocs/webservice/admin/webservicessearchlib.php:80
    build_webservice_log_search_results(object(stdClass)) at /home/ceciliavg/maharacode/mahara/htdocs/webservice/admin/webservicelogs.php:53

Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
status: New → In Progress
Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

variable $institutions is not used any more. It is showing errors now because we changed

$smarty->assign_by_ref('institutions', $institutions);

for

$smarty->assign('institutions', $institutions);

Changed in mahara:
importance: Undecided → Medium
milestone: none → 17.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7341
Committed: https://git.mahara.org/mahara/mahara/commit/489c0bd5abcc4dc46f3a1cca6b55d77a49af871e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 489c0bd5abcc4dc46f3a1cca6b55d77a49af871e
Author: Cecilia Vela Gurovic <email address hidden>
Date: Mon Dec 19 09:42:22 2016 +1300

Bug 1650962: Removed unused $institution variable in webservices/logs

behatnotneeded

Change-Id: Ife98c308a37f3d131ea7aae776a5917fe0b6e53a

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.