[geeklog-cvs] Geeklog-1.x/plugins/staticpages services.inc.php, 1.9, 1.10
Dirk Haun
dhaun at qs1489.pair.com
Sat Mar 15 16:37:36 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages
In directory qs1489.pair.com:/tmp/cvs-serv97947/plugins/staticpages
Modified Files:
services.inc.php
Log Message:
Some more fixes for E_ALL
Index: services.inc.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/services.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** services.inc.php 4 Jan 2008 18:36:31 -0000 1.9
--- services.inc.php 15 Mar 2008 20:37:34 -0000 1.10
***************
*** 79,83 ****
exit ();
*/
! $gl_edit = $args['gl_edit'];
if ($gl_edit) {
// This is EDIT mode, so there should be an sp_old_id
--- 79,86 ----
exit ();
*/
! $gl_edit = false;
! if (isset($args['gl_edit'])) {
! $gl_edit = $args['gl_edit'];
! }
if ($gl_edit) {
// This is EDIT mode, so there should be an sp_old_id
***************
*** 109,113 ****
}
! if (is_array($args['category']) && !empty($args['category'][0])) {
$args['sp_tid'] = $args['category'][0];
}
--- 112,117 ----
}
! if (isset($args['category']) && is_array($args['category']) &&
! !empty($args['category'][0])) {
$args['sp_tid'] = $args['category'][0];
}
***************
*** 235,239 ****
$postmode = $args['postmode'];
! if ($args['gl_edit'] && !empty($args['gl_etag'])) {
// First load the original staticpage to check if it has been modified
$o = array();
--- 239,243 ----
$postmode = $args['postmode'];
! if ($gl_edit && !empty($args['gl_etag'])) {
// First load the original staticpage to check if it has been modified
$o = array();
More information about the geeklog-cvs
mailing list