Warning
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
http://www.php.net/split

    * Deprecated function: Function split() is deprecated in tinybrowser_get_window_width() (line 53 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
    * Deprecated function: Function split() is deprecated in tinybrowser_get_window_height() (line 60 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
    * Deprecated function: Function split() is deprecated in tinybrowser_get_window_width() (line 53 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
    * Deprecated function: Function split() is deprecated in tinybrowser_get_window_height() (line 60 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
    * Deprecated function: Function split() is deprecated in tinybrowser_get_window_width() (line 53 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
    * Deprecated function: Function split() is deprecated in tinybrowser_get_window_height() (line 60 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
CommentFileSizeAuthor
#3 update-deprecated-function-1056896-3.patch1.73 KBGGH
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sarke’s picture

Just replace

$win_size = split('x', $popup_win_size);

with

$win_size = explode('x', $popup_win_size);

on lines 53 and 60 in tinybrowser.module

pixture’s picture

Assigned: Unassigned » pixture

Thanks Sarke,

I will fix this with the next release.

GGH’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
1.73 KB

fixed deprecated funtion

apaderno’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Assigned: pixture » Unassigned
apaderno’s picture

Status: Needs review » Fixed

This has been fixed 11 years ago in commit #096dcb53.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.