summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 2ec54f937..1790d8ab0 100644
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
include "includes/theme.inc";
### Initialize/pre-process variables:
-$number = ($user->storynum) ? $user->storynum : 10;
+$number = ($user->stories) ? $user->stories : 10;
$date = ($date) ? $date : time();
### Perform query: