aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-04 10:14:44 +0100
committerplegall <plg@piwigo.org>2016-02-04 10:14:44 +0100
commitc67bf030d1e99c8c0ddbce9e3d84336a333597bd (patch)
treebee7ad39b46c6753ad458bb4a57ae6f87596c0e9
parent6af4590f01c7ea249c6d03b37fb1001ce96b7f4c (diff)
feature #410, use constant as default value
-rw-r--r--ws.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index 16695b697..44e34b3a6 100644
--- a/ws.php
+++ b/ws.php
@@ -194,7 +194,7 @@ function ws_addDefaultMethods( $arr )
'fullname' => array('default'=>false,
'type'=>WS_TYPE_BOOL),
'thumbnail_size' => array(
- 'default' => 'thumb',
+ 'default' => IMG_THUMB,
'info' => 'square, thumb, 2small, xsmall, small, medium, large, xlarge, xxlarge'
),
),