Project

General

Profile

Actions

Bug #16585

closed

Page browser error

Added by Stephan no-lastname-given about 18 years ago. Updated about 18 years ago.

Status:
Closed
Priority:
Should have
Category:
felogin
Target version:
-
Start date:
2006-09-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I use the vision 3.0.0 and there are now working pagebrowser. It shows allways that I have 0 users. The list is showed corecctly, but only the first 50 users. And the pagebrowser show no pages.

(issue imported from #M4265)


Files

pagebrowser.diff (517 Bytes) pagebrowser.diff Administrator Admin, 2006-10-04 22:25
Actions #1

Updated by Stefan Strasser about 18 years ago

The bug is on line 158 of class.tx_newloginbox_pi3.php:
- the variable $this->internal['res_count'] does not get the correct number of users but 0
- list() only works with numerical arrays, but sql_fetch_assoc returns an associative array
- the solution is simple to replace sql_fetch_assoc with sql_fetch_row which returns a numerical array
- see also attached diff

Actions #2

Updated by Stefan Strasser about 18 years ago

committed to svn, will be in 3.0.1

Actions #3

Updated by Stefan Strasser about 18 years ago

3.0.1 - which contains fix - is released

Actions

Also available in: Atom PDF