[PC-BSD Commits] r1572 - websites/pbidir.com/bibivu/slib

svn at pcbsd.org svn at pcbsd.org
Mon Mar 10 03:50:10 PST 2008


Author: fabry
Date: 2008-03-10 04:50:09 -0700 (Mon, 10 Mar 2008)
New Revision: 1572

Modified:
   websites/pbidir.com/bibivu/slib/lang.php
Log:
fixed a warning message

Modified: websites/pbidir.com/bibivu/slib/lang.php
===================================================================
--- websites/pbidir.com/bibivu/slib/lang.php	2008-03-10 01:55:39 UTC (rev 1571)
+++ websites/pbidir.com/bibivu/slib/lang.php	2008-03-10 11:50:09 UTC (rev 1572)
@@ -23,6 +23,9 @@
 	}
 
 	public function get_lang(){
+		if(!isset($this->config['detected']) || $this->config['detected']==''){
+			$this->_detect_lang();
+		}
 		return $this->config['detected'];
 	}
 



More information about the Commits mailing list