[fix] Correct some PHP7-related warnings.
This commit is contained in:
parent
03679f4bb4
commit
b231b8a287
1
CHANGES
1
CHANGES
|
@ -40,6 +40,7 @@ v2.38 (Unreleased)
|
|||
[misc] Eliminate the entire notion of 'duplicates'
|
||||
[misc] Eliminate label printing
|
||||
[misc] Don't display the 'spool' on the main page
|
||||
[fix] Fix some PHP7-related warnings
|
||||
|
||||
v2.37.1 (December 3, 2012)
|
||||
|
||||
|
|
|
@ -40,6 +40,10 @@ $rss->useCached();
|
|||
// folders [id] [user] [tag]
|
||||
// albums [id] [user] [tag]
|
||||
|
||||
// Initialize stuff
|
||||
$froms = array();
|
||||
$filter = "";
|
||||
|
||||
// Work around bug in JustPictures and possibly others...
|
||||
foreach ($_REQUEST as $key => $value) {
|
||||
if (substr($value, -1) == "?") {
|
||||
|
@ -49,7 +53,7 @@ foreach ($_REQUEST as $key => $value) {
|
|||
}
|
||||
}
|
||||
|
||||
$feedtype = isset($_REQUEST['type']) ? $_REQUEST['type'] : photos;
|
||||
$feedtype = isset($_REQUEST['type']) ? $_REQUEST['type'] : 'photos';
|
||||
|
||||
switch ($feedtype) {
|
||||
case 'photos':
|
||||
|
|
|
@ -20,7 +20,7 @@ class stemming {
|
|||
var $j;
|
||||
var $k;
|
||||
|
||||
function stemming() {
|
||||
function __construct() {
|
||||
$this->buffer = array();
|
||||
$this->stemIdx = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue