]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-sid.patch
- rename new function to getLastNotifiedAddresses
[packages/eventum.git] / eventum-sid.patch
CommitLineData
9392ba85
ER
1This patch is to resolve PHP Warning:
2
3PHP Notice: Use of undefined constant SID - assumed 'SID' in /usr/share/eventum/include/class.template.php on line 202
4
5The problem is that SID constant gets defined only if session_start() has been called (or you autostart session).
6And the second issue is that this SID is never used in templates or classes.
7
8so i'm removing it.
9
10--- eventum-20060725/include/class.template.php~ 2006-07-25 10:34:23.330668461 +0300
11+++ eventum-20060725/include/class.template.php 2006-07-26 11:27:17.567040087 +0300
12@@ -199,7 +199,6 @@
13 $this->assign("app_base_url", APP_BASE_URL);
14 $this->assign("rel_url", APP_RELATIVE_URL);
15 $this->assign("locale", APP_CURRENT_LOCALE);
16- $this->assign("SID", SID);
17
18 // now for the browser detection stuff
19 Net_UserAgent_Detect::detect();
This page took 0.028149 seconds and 4 git commands to generate.