From ff4eaa9c95433962a02f6241b8bf7822b409488d Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 7 Mar 2011 16:20:36 +0100 Subject: [PATCH] static function getNodeIdByName( --- wwwroot/backend/mysql/backend.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/backend/mysql/backend.inc b/wwwroot/backend/mysql/backend.inc index 8a772c6..78bda9b 100644 --- a/wwwroot/backend/mysql/backend.inc +++ b/wwwroot/backend/mysql/backend.inc @@ -178,7 +178,7 @@ function getUserByLogin($login) { } } -function getNodeIdByName($name, $external_link=false) { +static function getNodeIdByName($name, $external_link=false) { global $db; $qh = sprintf('select node_id from nodes where node_name = "%s"', mysql_real_escape_string($name)); -- 2.30.2