Error: Undefined variable:institutions

Bug #1650962 reported by Cecilia Vela Gurovic on 2016-12-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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

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

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


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

Changed in mahara:
importance: Undecided → Medium
milestone: none → 17.04.0

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


Change-Id: Ife98c308a37f3d131ea7aae776a5917fe0b6e53a

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

Other bug subscribers