summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/php.eselect.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/php.eselect.in b/src/php.eselect.in
index b47d218..d9c44f7 100644
--- a/src/php.eselect.in
+++ b/src/php.eselect.in
@@ -564,8 +564,9 @@ describe_show_options() {
}
do_show() {
- check_module $1
- get_active_$1
+ local sapi="${1}"
+ check_module "${sapi}"
+ get_sapi_active_target "${sapi}"
}
## update action