[geeklog-cvs] geeklog: Fixed deprecated construct
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Mar 19 11:58:04 EDT 2011
changeset 8181:a8c2b0900c8a
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/a8c2b0900c8a
user: Dirk Haun <dirk at haun-online.de>
date: Sat Mar 19 16:53:28 2011 +0100
description:
Fixed deprecated construct
diffstat:
system/classes/validator.class.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r a948f14f1ac0 -r a8c2b0900c8a system/classes/validator.class.php
--- a/system/classes/validator.class.php Sat Mar 19 10:53:02 2011 -0400
+++ b/system/classes/validator.class.php Sat Mar 19 16:53:28 2011 +0100
@@ -2,13 +2,13 @@
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
-// | Geeklog 1.7 |
+// | Geeklog 1.8 |
// +---------------------------------------------------------------------------+
// | validator.class.php |
// | |
// | Used for validation of data |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2010 by the following authors: |
+// | Copyright (C) 2010-2011 by the following authors: |
// | |
// | Authors: Akeda Bagus - admin AT gedex DOT web DOT id |
// | |
@@ -98,7 +98,7 @@
static $instance = array();
if (!$instance) {
- $instance[0] =& new validator();
+ $instance[0] = new validator();
}
return $instance[0];
}
@@ -861,4 +861,4 @@
$this->errors = array();
}
}
-?>
\ No newline at end of file
+?>
More information about the geeklog-cvs
mailing list