aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-10-29 23:39:41 +0000
committerrvelices <rv-github@modusoptimus.com>2007-10-29 23:39:41 +0000
commit831694b4d1a1e93b5ed6a8e1e4a0c80d21df95cd (patch)
tree9a31419b292aad362bacbb83773c90d8060545e7 /include/functions_url.inc.php
parentf33617a5b85fd9c842e4e415aebe9dd213595783 (diff)
- send status code 403 when attempt to enter a user comment, but comments are disabled
- don't increase hit count when a comment is posted - remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless) git-svn-id: http://piwigo.org/svn/trunk@2155 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_url.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php
index 2d0a39f6d..6180dae3e 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -252,7 +252,7 @@ function make_picture_url($params)
}
if ( !isset($params['category'] ) )
{// make urls shorter ...
- unset( $params['flat'] );
+ unset( $params['flat'] );
}
$url .= make_section_in_url($params);
$url = add_well_known_params_in_url($url, $params);
@@ -622,7 +622,7 @@ function parse_section_url( $tokens, &$next_token)
* the reverse of add_well_known_params_in_url
* parses start, flat and chronology from url tokens
*/
-function parse_well_known_params_url($tokens, $i)
+function parse_well_known_params_url($tokens, &$i)
{
$page = array();
while (isset($tokens[$i]))