[geeklog-hg] geeklog: Fixed User Default Photo Config option to accept a url ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Jul 10 19:42:13 EDT 2014


changeset 9532:335dfcb8427e
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/335dfcb8427e
user: Tom
date: Thu Jul 10 19:09:35 2014 -0400
description:
Fixed User Default Photo Config option to accept a url to an image (bug #0001767)

diffstat:

 public_html/admin/configuration_validation.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 49750eb159e1 -r 335dfcb8427e public_html/admin/configuration_validation.php
--- a/public_html/admin/configuration_validation.php	Fri Jun 13 10:44:46 2014 +0200
+++ b/public_html/admin/configuration_validation.php	Thu Jul 10 19:09:35 2014 -0400
@@ -425,7 +425,7 @@
 $_CONF_VALIDATE['Core']['max_photo_height'] = array('rule' => 'numeric');
 $_CONF_VALIDATE['Core']['max_photo_size'] = array('rule' => 'numeric');
 $_CONF_VALIDATE['Core']['force_photo_width'] = array('rule' => 'numeric');
-$_CONF_VALIDATE['Core']['default_photo'] = array('rule' => 'file');
+$_CONF_VALIDATE['Core']['default_photo'] = array('rule' => 'url');
 
 /* Subgroup Images, Tab Gravatar */
 $_CONF_VALIDATE['Core']['use_gravatar'] = array('rule' => 'boolean');



More information about the geeklog-cvs mailing list