diff --git a/index.pl b/index.pl index 7c0924e9deb11b8f9188c3acadf02e60ae23c634..ee784459d01f9dac8a1699897411c482879ef77f 100755 --- a/index.pl +++ b/index.pl @@ -117,7 +117,7 @@ app->attr( sched_time, real_time, route, messages from user_actions - join stations on station_id = stations.id + left outer join stations on station_id = stations.id where user_id = ? order by action_time desc } @@ -135,7 +135,7 @@ app->attr( sched_time, real_time, route, messages from user_actions - join stations on station_id = stations.id + left outer join stations on station_id = stations.id where user_id = ? order by action_time desc limit 10