projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change École polytechnique favicon.
[platal.git]
/
include
/
profilefields.inc.php
diff --git
a/include/profilefields.inc.php
b/include/profilefields.inc.php
index
ef574c0
..
8a3ace0
100644
(file)
--- a/
include/profilefields.inc.php
+++ b/
include/profilefields.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
1
Polytechnique.org *
+ * Copyright (C) 2003-201
4
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 *
@@
-875,7
+875,7
@@
class CompanyList
static public function get($id)
{
static public function get($id)
{
- if (!array_key_exists($id, self::$companies)) {
+ if (!
is_null($id) && !
array_key_exists($id, self::$companies)) {
self::preload();
}
if (isset(self::$companies[$id])) {
self::preload();
}
if (isset(self::$companies[$id])) {
@@
-886,5
+886,5
@@
class CompanyList
}
// }}}
}
// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker
f
enc=utf-8:
?>
?>