| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | * |
| 28 | 28 | * @return string |
| 29 | 29 | */ |
| 30 | 30 | public function render_service_view( $attributes ) { |
| 31 | - $id = isset( $attributes['id'] ) ? $attributes['id'] : ''; | |
| 31 | + $id = isset( $attributes['id'] ) ? absint( $attributes['id'] ) : 0; | |
| 32 | 32 | |
| 33 | 33 | wp_enqueue_style( 'booktics-vendor' ); |
| 34 | 34 | wp_enqueue_style( 'booktics-frontend' ); |
| 35 | 35 | |