Skip to content

Commit 341ab39

Browse files
committed
Fixed an exception in debug mode on show_part_label.php
1 parent fb4cb18 commit 341ab39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

show_part_label.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
}
209209

210210
//Show size preset in custom size inputs
211-
if ($profile['label_size'] != "custom") {
211+
if ($profile['label_size'] != "custom" && !empty($profile['label_size'])) {
212212
$exploded = explode("x", $profile['label_size']);
213213
$profile['custom_width'] = $exploded[0];
214214
$profile['custom_height'] = $exploded[1];

0 commit comments

Comments
 (0)