Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Projects > The Bug Tracker > Bug

Notices

class_language.php cause PHP Notice on Undefined variable $controller Issue Tools
issueid=36 01-22-2014 02:59 PM
Member
class_language.php cause PHP Notice on Undefined variable $controller

In some cases the $control is undefined and this can cause a PHP Notice.
Its not urgent but annoying when going thru error_log

Code:
--- v1.3.4/classes/class_language.php	2013-04-18 19:42:30.000000000 +0200
+++ src/classes/class_language.php	2014-01-21 21:26:09.000000000 +0100
@@ -105,6 +105,7 @@
      */	
     private function locate($file){
         $mysidia = Registry::get("mysidia");
+        $controller = '';
         if($mysidia->input->get("frontcontroller") != "index"){
             $controller = "{$mysidia->input->get("frontcontroller")}/";
         }
Issue Details
Project The Bug Tracker
Category Unknown
Status Fixed
Priority 8
Affected Version Mys v1.3.4
Fixed Version Mys v1.4.0
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

01-27-2014 01:57 AM
Issue Changed by Hall of Famer
  • Status changed from Unconfirmed to Fixed
  • Issue marked as addressed
  • Addressed version changed from Unknown to Mys v1.4.0
Reply

All times are GMT -5. The time now is 01:57 AM.

Currently Active Users: 889 (0 members and 889 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636