Proyectos de Subversion Moodle

Rev

Rev 1077 | Rev 1079 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1077 Rev 1078
Línea 234... Línea 234...
234
                    $image = $url_noimage;
234
                    $image = $url_noimage;
235
                }
235
                }
236
            }
236
            }
Línea 237... Línea 237...
237
 
237
 
238
            $lastaccess = null;
238
            $lastaccess = null;
239
            $sql = "select timecreated from {logstore_standard_log} where courseid = :courseid and userid = :userid order by id limit :perpage";
239
            $sql = "select timecreated from {logstore_standard_log} where courseid = :courseid and userid = :userid order by id limit {$perpage}";
240
            $params_a = ['courseid' => $course->id, 'userid' => $userid];
240
            $params_a = ['courseid' => $course->id, 'userid' => $userid];
241
            $timecreated = $DB->get_field_sql($sql,  $params_a);
241
            $timecreated = $DB->get_field_sql($sql,  $params_a);
Línea 242... Línea 242...
242
            if ($timecreated) {
242
            if ($timecreated) {