From cd072acba40b59634cf43fc61681b42ebca69eaa Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Fri, 24 Jan 2014 06:21:25 -0500
Subject: [PATCH] changed the regex; new line at the end is allowed - prevents problems when using cut&paste for the private-key in the interface

---
 interface/lib/classes/auth.inc.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/interface/lib/classes/auth.inc.php b/interface/lib/classes/auth.inc.php
index 36ec114..706dd04 100644
--- a/interface/lib/classes/auth.inc.php
+++ b/interface/lib/classes/auth.inc.php
@@ -33,6 +33,7 @@
 
 	public function get_user_id()
 	{
+		global $app;
 		return $app->functions->intval($_SESSION['s']['user']['userid']);
 	}
 

--
Gitblit v1.9.1