aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 16:30:51 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 16:30:51 +0000
commit1ba0fab3389b57e0167c9df94ed19602cc4103af (patch)
treef430f0a1d6ed9a76bf7f28034fb5b292c06b9a8f /engine/lib/elgglib.php
parent2cc7809fbc2e3fef24f213e2ef1e40fa54f1d05e (diff)
downloadelgg-1ba0fab3389b57e0167c9df94ed19602cc4103af.tar.gz
elgg-1ba0fab3389b57e0167c9df94ed19602cc4103af.tar.bz2
Major site config changes
git-svn-id: https://code.elgg.org/elgg/trunk@615 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 37245a6db..9005cf010 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -870,7 +870,7 @@
* @return true|false Depending on success.
*/
function run_function_once($functionname, $timelastupdatedcheck = 0) {
- if ($lastupdated = datalist_get($name)) {
+ if ($lastupdated = datalist_get($functionname)) {
$lastupdated = (int) $lastupdated;
} else {
$lastupdated = 0;