projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put mails templates cache in spool/mails_c instead of spool/templates_c/mails because...
[platal.git]
/
plugins
/
insert.getNbNotifs.php
diff --git
a/plugins/insert.getNbNotifs.php
b/plugins/insert.getNbNotifs.php
index
5c4cc53
..
02d2c86
100644
(file)
--- a/
plugins/insert.getNbNotifs.php
+++ b/
plugins/insert.getNbNotifs.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
6
Polytechnique.org *
+ * Copyright (C) 2003-200
7
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-22,7
+22,7
@@
function smarty_insert_getNbNotifs($params, &$smarty)
{
function smarty_insert_getNbNotifs($params, &$smarty)
{
- if(logged()) {
+ if(
S::
logged()) {
require_once('notifs.inc.php');
return getNbNotifs();
}
require_once('notifs.inc.php');
return getNbNotifs();
}