[geeklog-hg] geeklog: Changed defined Staticpage ID max length to 128 to matc...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 29 12:54:04 EDT 2014


changeset 9524:2eeba6316e9f
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/2eeba6316e9f
user: Tom <websitemaster at cogeco.net>
date: Sat Mar 29 12:52:41 2014 -0400
description:
Changed defined Staticpage ID max length to 128 to match the length in the database

diffstat:

 plugins/staticpages/services.inc.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 20eb0077bc01 -r 2eeba6316e9f plugins/staticpages/services.inc.php
--- a/plugins/staticpages/services.inc.php	Sun Mar 23 10:44:14 2014 -0400
+++ b/plugins/staticpages/services.inc.php	Sat Mar 29 12:52:41 2014 -0400
@@ -47,7 +47,7 @@
 * Max. length of the ID for a static page.
 * This must be kept in sync with the actual size of 'sp_id' in the db.
 */
-define('STATICPAGE_MAX_ID_LENGTH', 40);
+define('STATICPAGE_MAX_ID_LENGTH', 128);
 
 /**
  * Submit static page. The page is updated if it exists, or a new one is created



More information about the geeklog-cvs mailing list