Permalink
Browse files

Fixed namespace

  • Loading branch information...
1 parent 20ea545 commit ca6a03b5ea5b8f402472aa980d05fee0e4b679d9 @Stardog Stardog committed Feb 9, 2017
Showing with 2 additions and 2 deletions.
  1. +1 −1 src-phpws-legacy/src/DBPager.php
  2. +1 −1 src-phpws2/src/Form.php
@@ -1326,7 +1326,7 @@ public function getSearchBox()
unset($values['go']);
- $form = new \Form($id);
+ $form = new \phpws2\Form($id);
$form->useGetMethod();
$form->addClass('form-inline');
$form->setAction('index.php');
@@ -161,7 +161,7 @@ public function addInput($type, $name, $value = null, $label = null)
throw new \Exception(sprintf('Improperly formatted input name: %s', $name));
}
- $class_name = 'Form\Input\\' . ucfirst(strtolower($type));
+ $class_name = '\phpws2\Form\Input\\' . ucfirst(strtolower($type));
$input = new $class_name($name, $value);
if (isset($label)) {
$input->setLabel($label);

0 comments on commit ca6a03b

Please sign in to comment.