Coding at 4am isn't always a great idea <_< typo fixed
git-svn-id: file:///home/shish/svn/shimmie2/trunk@865 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
1f9f306cb2
commit
2c1c605f12
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class Database {
|
||||||
public function count_pages($tags=array()) {
|
public function count_pages($tags=array()) {
|
||||||
global $config;
|
global $config;
|
||||||
$images_per_page = $config->get_int('index_width') * $config->get_int('index_height');
|
$images_per_page = $config->get_int('index_width') * $config->get_int('index_height');
|
||||||
return ceil($thi->count_images($tags) / $images_per_page);
|
return ceil($this->count_images($tags) / $images_per_page);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute($query, $args=array()) {
|
public function execute($query, $args=array()) {
|
||||||
|
|
Reference in a new issue