projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08bfbc
)
small hack to return by ref
author
Pascal Corpet
<pascal.corpet@m4x.org>
Sun, 6 Jun 2010 23:12:56 +0000
(
01:12
+0200)
committer
Pascal Corpet
<pascal.corpet@m4x.org>
Sun, 6 Jun 2010 23:12:56 +0000
(
01:12
+0200)
classes/platal.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/platal.php
b/classes/platal.php
index
69b1533
..
154491a
100644
(file)
--- a/
classes/platal.php
+++ b/
classes/platal.php
@@
-445,7
+445,8
@@
abstract class Platal
{
if (defined('PL_LOGGER_CLASS')) {
$class = PL_LOGGER_CLASS;
- return new $class($uid, $suid);
+ $logger = new $class($uid, $suid);
+ return $logger;
} else {
return PlLogger::dummy($uid, $suid);
}