[geeklog-cvs] Geeklog-1.x/plugins/staticpages services.inc.php, 1.10, 1.11
Dirk Haun
dhaun at qs1489.pair.com
Sat Jun 28 14:44:12 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages
In directory qs1489.pair.com:/tmp/cvs-serv55462
Modified Files:
services.inc.php
Log Message:
E_ALL fixes
Index: services.inc.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/services.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** services.inc.php 15 Mar 2008 20:37:34 -0000 1.10
--- services.inc.php 28 Jun 2008 18:44:09 -0000 1.11
***************
*** 446,451 ****
if ($args['gl_svc']) {
! $args['sp_id'] = COM_applyBasicFilter($args['sp_id']);
! $args['mode'] = COM_applyBasicFilter($args['mode']);
if (empty($args['sp_id'])) {
--- 446,455 ----
if ($args['gl_svc']) {
! if (isset($args['sp_id'])) {
! $args['sp_id'] = COM_applyBasicFilter($args['sp_id']);
! }
! if (isset($args['mode'])) {
! $args['mode'] = COM_applyBasicFilter($args['mode']);
! }
if (empty($args['sp_id'])) {
***************
*** 459,464 ****
if (!$svc_msg['gl_feed']) {
! $page = $args['sp_id'];
! $mode = $args['mode'];
$error = 0;
--- 463,474 ----
if (!$svc_msg['gl_feed']) {
! $page = '';
! if (isset($args['sp_id'])) {
! $page = $args['sp_id'];
! }
! $mode = '';
! if (isset($args['mode'])) {
! $mode = $args['mode'];
! }
$error = 0;
***************
*** 556,567 ****
$output = array();
! $mode = $args['mode'];
! $perms = SP_getPerms ();
if (!empty ($perms)) {
$perms = ' WHERE ' . $perms;
}
! $offset = COM_applyBasicFilter($args['offset'], true);
$max_items = $_SP_CONF['atom_max_items'] + 1;
--- 566,583 ----
$output = array();
! $mode = '';
! if (isset($args['mode'])) {
! $mode = $args['mode'];
! }
! $perms = SP_getPerms();
if (!empty ($perms)) {
$perms = ' WHERE ' . $perms;
}
! $offset = 0;
! if (isset($args['offset'])) {
! $offset = COM_applyBasicFilter($args['offset'], true);
! }
$max_items = $_SP_CONF['atom_max_items'] + 1;
More information about the geeklog-cvs
mailing list