diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 6f7fa6a..7f7daa3 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -217,7 +217,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then fi FROMID=`sqlite3 $WEBBUILD_STATEDIR/webbuild.db "$LASTID_QUERY"` fi - sqlite3 $WEBBUILD_STATEDIR/webbuild.db "SELECT *,strftime('%s',time) FROM social_log WHERE id>$FROMID LIMIT 100" | while read line; do + sqlite3 $WEBBUILD_STATEDIR/webbuild.db "SELECT *,strftime('%s',time) FROM social_log WHERE id>=$FROMID LIMIT 100" | while read line; do SAVEIFS=$IFS IFS="|" set -- $line